]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Suppress false positives in Memcheck caused by very clever coding in zlib.
authorJulian Seward <jseward@acm.org>
Tue, 24 Jun 2008 09:48:39 +0000 (09:48 +0000)
committerJulian Seward <jseward@acm.org>
Tue, 24 Jun 2008 09:48:39 +0000 (09:48 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8275

xfree-4.supp

index 0ccc46e518d003a1493004fd17061ddc05b670e3..b41fc17ba69768e00bd087b6af9a314cde77bbce 100644 (file)
    fun:for__add_to_lf_table
 }
 
+# zlib-1.2.x uses uninitialised memory in some tricky way which
+# apparently is harmless (it must amount to a vectorised while-loop,
+# nothing else makes sense).  Fools Memcheck though.  See the mentioned
+# URL for details.
+{
+   zlib-1.2.x trickyness: See http://www.zlib.net/zlib_faq.html#faq36
+   Memcheck:Cond
+   obj:/lib64/libz.so.1.2.*
+   obj:/lib64/libz.so.1.2.*
+   fun:deflate
+}
+
+
 ##----------------------------------------------------------------------##
 
 ## More general versions of some of the old X suppressions above