]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
Added valgrind suppression for OpenSSL <v1.0.2
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Mon, 20 Jun 2016 11:29:57 +0000 (14:29 +0300)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Mon, 20 Jun 2016 17:50:37 +0000 (20:50 +0300)
This one works at least for CentOS 6. Because the OpenSSL library is
loaded as a plugin and unloaded before exit, valgrind sees only "???"
as the addresses. That's why we're using "obj:*". But the number of
obj:* lines is also important, so this may not work everywhere.

run-test-valgrind.supp

index 25aa3a2513fb81bcad36afb449d69b31b76b8d69..64a2207a5da35af7cad23c8d6cd90639e86131f6 100644 (file)
    fun:lzma_stream_encoder
    fun:lzma_easy_encoder
 }
+{
+   <openssl_centos6_v1_0_1_compression_methods>
+   Memcheck:Leak
+   fun:malloc
+   obj:*
+   obj:*
+   obj:*
+   obj:*
+   obj:*
+   obj:*
+   obj:*
+   obj:*
+   obj:*
+   fun:module_dir_init
+   fun:dcrypt_initialize
+   fun:main
+}