[PATCH] D40589: Add libstd++-4.8 exceptions to ubsan_blacklist.txt

Phabricator via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 29 12:10:48 PST 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL319353: Add libstd++-4.8 exceptions to ubsan_blacklist.txt (authored by sbc).

Repository:
  rL LLVM

https://reviews.llvm.org/D40589

Files:
  llvm/trunk/utils/sanitizers/ubsan_blacklist.txt


Index: llvm/trunk/utils/sanitizers/ubsan_blacklist.txt
===================================================================
--- llvm/trunk/utils/sanitizers/ubsan_blacklist.txt
+++ llvm/trunk/utils/sanitizers/ubsan_blacklist.txt
@@ -5,3 +5,8 @@
 
 # upcast of address with insufficient space for an object of type std::_Rb_tree_node<...>
 src:*bits/stl_tree.h
+
+# libstdc++ 4.8 creates a null reference when calling
+# data() on an empty vector: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59829
+src:*bits/stl_iterator.h
+src:*bits/stl_vector.h


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40589.124799.patch
Type: text/x-patch
Size: 546 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171129/d5149d97/attachment.bin>


More information about the llvm-commits mailing list