From: Julian Seward Date: Tue, 24 Jun 2008 09:48:39 +0000 (+0000) Subject: Suppress false positives in Memcheck caused by very clever coding in zlib. X-Git-Tag: svn/VALGRIND_3_4_0~437 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5187274475e33dc39e89969d4a675d4b965f2dc4;p=thirdparty%2Fvalgrind.git Suppress false positives in Memcheck caused by very clever coding in zlib. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8275 --- diff --git a/xfree-4.supp b/xfree-4.supp index 0ccc46e518..b41fc17ba6 100644 --- a/xfree-4.supp +++ b/xfree-4.supp @@ -302,6 +302,19 @@ 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