[pacman-dev] [PATCH 1/2] valgrind.supp: add known leak exposed by cURL
This one comes courtesy of OpenSSL and some static initialization. Signed-off-by: Dan McGee <dan@archlinux.org> --- valgrind.supp | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/valgrind.supp b/valgrind.supp index 94618c0..1d6952d 100644 --- a/valgrind.supp +++ b/valgrind.supp @@ -46,3 +46,13 @@ Memcheck:Value8 fun:BN_mod_exp_mont_consttime } +{ + openssl-supp-load-compressions + Memcheck:Leak + fun:malloc + fun:CRYPTO_malloc + ... + fun:load_builtin_compressions + fun:SSL_COMP_get_compression_methods + fun:SSL_library_init +} -- 1.7.5.4
̶F̶u̶c̶k Thank you too, GPGME, for these. Why don't you provide a way to clean up your static variable mess? Signed-off-by: Dan McGee <dan@archlinux.org> --- valgrind.supp | 22 ++++++++++++++++++++++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/valgrind.supp b/valgrind.supp index 1d6952d..58fdf1c 100644 --- a/valgrind.supp +++ b/valgrind.supp @@ -56,3 +56,25 @@ fun:SSL_COMP_get_compression_methods fun:SSL_library_init } +{ + gpgme-static-get-engine-info + Memcheck:Leak + fun:malloc + ... + fun:gpgme_get_engine_info +} +{ + gpgme-static-set-engine-info + Memcheck:Leak + fun:malloc + ... + fun:_gpgme_set_engine_info + fun:gpgme_set_engine_info +} +{ + gpgme-static-set-locale + Memcheck:Leak + fun:malloc + fun:strdup + fun:gpgme_set_locale +} -- 1.7.5.4
participants (1)
-
Dan McGee