summaryrefslogtreecommitdiffstats
path: root/tests/valgrind-suppressions
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:04:52 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:04:52 +0000
commit5e03c718f4e7ff13cb6834eda737c269ebed02ad (patch)
treebfad3f5be123f000fdb03e26400050dece33d72f /tests/valgrind-suppressions
parentInitial commit. (diff)
downloadwget-upstream.tar.xz
wget-upstream.zip
Adding upstream version 1.21.3.upstream/1.21.3upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--tests/valgrind-suppressions246
-rw-r--r--tests/valgrind-suppressions-ssl187
2 files changed, 433 insertions, 0 deletions
diff --git a/tests/valgrind-suppressions b/tests/valgrind-suppressions
new file mode 100644
index 0000000..6048a74
--- /dev/null
+++ b/tests/valgrind-suppressions
@@ -0,0 +1,246 @@
+{
+ False positive in libidn.so. More info: https://bugzilla.redhat.com/show_bug.cgi?id=678518
+ Memcheck:Addr4
+ fun:idna_to_ascii_4z
+ fun:idna_to_ascii_8z
+ fun:idn_encode
+ fun:url_parse
+}
+
+{
+ False positive in libidn.so
+ Memcheck:Addr8
+ fun:strncmp
+ fun:is_dst
+ ...
+ fun:fillin_rpath.isra.0
+ fun:decompose_rpath
+ ...
+ fun:openaux
+ fun:_dl_catch_exception
+ fun:_dl_map_object_deps
+ fun:dl_open_worker
+}
+
+{
+ False positive in libidn.so
+ Memcheck:Addr16
+ fun:strncmp
+ ...
+ fun:fillin_rpath.isra.0
+ fun:decompose_rpath
+ ...
+ fun:_dl_map_object
+ fun:openaux
+ fun:_dl_catch_exception
+ fun:_dl_map_object_deps
+ fun:dl_open_worker
+ fun:_dl_catch_exception
+}
+
+{
+ Valgrind 3.4 bug suppression
+ Memcheck:Cond
+ fun:memrchr
+ fun:modify_param_name
+ fun:extract_param
+ fun:parse_content_disposition
+ fun:check_file_output
+ fun:gethttp
+ fun:http_loop
+ fun:retrieve_url
+ fun:main
+}
+
+{
+ Valgrind 3.4 bug suppression
+ Memcheck:Cond
+ fun:memrchr
+ fun:parse_content_disposition
+ fun:check_file_output
+ fun:gethttp
+ fun:http_loop
+ fun:retrieve_url
+ fun:main
+}
+
+{
+ Valgrind 3.4 bug suppression
+ Memcheck:Cond
+ fun:memrchr
+ fun:parse_content_disposition
+ fun:check_file_output
+ fun:gethttp
+ fun:http_loop
+ fun:retrieve_url
+ fun:main
+}
+
+{
+ Valgrind 3.4 bug suppression
+ Memcheck:Cond
+ fun:memrchr
+ fun:modify_param_name
+ fun:extract_param
+ fun:parse_set_cookie
+ fun:cookie_handle_set_cookie
+ fun:gethttp
+ fun:http_loop
+ fun:retrieve_url
+ fun:main
+}
+
+{
+ Valgrind 3.4 bug suppression
+ Memcheck:Cond
+ fun:memrchr
+ fun:modify_param_name
+ fun:extract_param
+ fun:parse_set_cookie
+ fun:cookie_handle_set_cookie
+ fun:gethttp
+ fun:http_loop
+ fun:retrieve_url
+ fun:main
+}
+
+{
+ Valgrind 3.4 bug suppression
+ Memcheck:Cond
+ fun:memrchr
+ fun:parse_content_disposition
+ fun:check_file_output
+ fun:gethttp
+ fun:http_loop
+ fun:retrieve_url
+ fun:main
+}
+
+{
+ Valgrind 3.4 bug suppression
+ Memcheck:Cond
+ fun:memrchr
+ fun:parse_content_disposition
+ fun:check_file_output
+ fun:gethttp
+ fun:http_loop
+ fun:retrieve_url
+ fun:main
+}
+
+{
+ Valgrind 3.4 bug suppression
+ Memcheck:Cond
+ fun:memrchr
+ fun:parse_content_disposition
+ fun:check_file_output
+ fun:gethttp
+ fun:http_loop
+ fun:retrieve_url
+ fun:main
+}
+
+{
+ Valgrind 3.4 bug suppression
+ Memcheck:Cond
+ fun:memrchr
+ fun:parse_content_disposition
+ fun:check_file_output
+ fun:gethttp
+ fun:http_loop
+ fun:retrieve_url
+ fun:main
+}
+
+{
+ Valgrind 3.4 bug suppression
+ Memcheck:Cond
+ fun:memrchr
+ fun:parse_content_disposition
+ fun:check_file_output
+ fun:gethttp
+ fun:http_loop
+ fun:retrieve_url
+ fun:main
+}
+
+{
+ Valgrind 3.4 bug suppression
+ Memcheck:Cond
+ fun:memrchr
+ fun:parse_content_disposition
+ fun:check_file_output
+ fun:gethttp
+ fun:http_loop
+ fun:retrieve_url
+ fun:main
+}
+
+{
+ <insert_a_suppression_name_here>
+ Memcheck:Cond
+ fun:memrchr
+ fun:extract_param
+ fun:gethttp
+ fun:http_loop
+ fun:retrieve_url
+ fun:main
+}
+
+{
+ <insert_a_suppression_name_here>
+ Memcheck:Cond
+ fun:memrchr
+ fun:gethttp
+ fun:http_loop
+ fun:retrieve_url
+ fun:main
+}
+
+{
+ <insert_a_suppression_name_here>
+ Memcheck:Cond
+ fun:memrchr
+ fun:extract_param
+ fun:parse_set_cookie.constprop.4
+ fun:cookie_handle_set_cookie
+ fun:gethttp
+ fun:http_loop
+ fun:retrieve_url
+ fun:main
+}
+
+{
+ gnutls-false-positive
+ Memcheck:Cond
+ fun:decode_complex_string.isra.0
+ fun:_gnutls_x509_dn_to_string
+ ...
+}
+
+{
+ gnutls-false-positive
+ Memcheck:Cond
+ ...
+ fun:gnutls_x509_ext_import_subject_alt_names
+ fun:gnutls_x509_crt_import
+ fun:gnutls_x509_crt_list_import
+ fun:gnutls_x509_crt_list_import2
+ fun:gnutls_x509_trust_list_add_trust_mem
+ fun:gnutls_x509_trust_list_add_trust_file
+ fun:gnutls_x509_trust_list_add_system_trust
+}
+
+{
+ gnutls-false-positive
+ Memcheck:Cond
+ ...
+ fun:gnutls_x509_crt_get_dn_by_oid
+ fun:gnutls_x509_crt_check_hostname2
+ fun:ssl_check_certificate
+ fun:establish_connection
+ fun:gethttp
+ fun:http_loop
+ fun:retrieve_url
+ fun:main
+}
diff --git a/tests/valgrind-suppressions-ssl b/tests/valgrind-suppressions-ssl
new file mode 100644
index 0000000..48906b5
--- /dev/null
+++ b/tests/valgrind-suppressions-ssl
@@ -0,0 +1,187 @@
+{
+ <insert_a_suppression_name_here>
+ Memcheck:Cond
+ ...
+ obj:*/libcrypto.so.*
+}
+
+{
+ <insert_a_suppression_name_here>
+ Memcheck:Cond
+ ...
+ obj:*/libssl.so.*
+}
+
+{
+ <insert_a_suppression_name_here>
+ Memcheck:Value8
+ ...
+ obj:*/libcrypto.so.*
+}
+
+{
+ <insert_a_suppression_name_here>
+ Memcheck:Param
+ write(buf)
+ ...
+ obj:*/libcrypto.so.*
+}
+
+{
+ Valgrind 3.4 bug suppression
+ Memcheck:Cond
+ fun:memrchr
+ fun:modify_param_name
+ fun:extract_param
+ fun:parse_content_disposition
+ fun:check_file_output
+ fun:gethttp
+ fun:http_loop
+ fun:retrieve_url
+ ...
+}
+
+{
+ Valgrind 3.4 bug suppression
+ Memcheck:Cond
+ fun:memrchr
+ fun:parse_content_disposition
+ fun:check_file_output
+ fun:gethttp
+ fun:http_loop
+ fun:retrieve_url
+ fun:main
+}
+
+{
+ Valgrind 3.4 bug suppression
+ Memcheck:Cond
+ fun:memrchr
+ fun:parse_content_disposition
+ fun:check_file_output
+ fun:gethttp
+ fun:http_loop
+ fun:retrieve_url
+ fun:main
+}
+
+{
+ Valgrind 3.4 bug suppression
+ Memcheck:Cond
+ fun:memrchr
+ fun:modify_param_name
+ fun:extract_param
+ fun:parse_set_cookie
+ fun:cookie_handle_set_cookie
+ fun:gethttp
+ fun:http_loop
+ fun:retrieve_url
+ ...
+}
+
+{
+ Valgrind 3.4 bug suppression
+ Memcheck:Cond
+ fun:memrchr
+ fun:modify_param_name
+ fun:extract_param
+ fun:parse_set_cookie
+ fun:cookie_handle_set_cookie
+ fun:gethttp
+ fun:http_loop
+ fun:retrieve_url
+ ...
+}
+
+{
+ Valgrind 3.4 bug suppression
+ Memcheck:Cond
+ fun:memrchr
+ fun:parse_content_disposition
+ fun:check_file_output
+ fun:gethttp
+ fun:http_loop
+ fun:retrieve_url
+ fun:main
+}
+
+{
+ Valgrind 3.4 bug suppression
+ Memcheck:Cond
+ fun:memrchr
+ fun:parse_content_disposition
+ fun:check_file_output
+ fun:gethttp
+ fun:http_loop
+ fun:retrieve_url
+ fun:main
+}
+
+{
+ Valgrind 3.4 bug suppression
+ Memcheck:Cond
+ fun:memrchr
+ fun:parse_content_disposition
+ fun:check_file_output
+ fun:gethttp
+ fun:http_loop
+ fun:retrieve_url
+ fun:main
+}
+
+{
+ Valgrind 3.4 bug suppression
+ Memcheck:Cond
+ fun:memrchr
+ fun:parse_content_disposition
+ fun:check_file_output
+ fun:gethttp
+ fun:http_loop
+ fun:retrieve_url
+ fun:main
+}
+
+{
+ Valgrind 3.4 bug suppression
+ Memcheck:Cond
+ fun:memrchr
+ fun:parse_content_disposition
+ fun:check_file_output
+ fun:gethttp
+ fun:http_loop
+ fun:retrieve_url
+ fun:main
+}
+
+{
+ Valgrind 3.4 bug suppression
+ Memcheck:Cond
+ fun:memrchr
+ fun:parse_content_disposition
+ fun:check_file_output
+ fun:gethttp
+ fun:http_loop
+ fun:retrieve_url
+ fun:main
+}
+
+{
+ gnutls-false-positive
+ Memcheck:Cond
+ fun:decode_complex_string.isra.0
+ fun:_gnutls_x509_dn_to_string
+ ...
+}
+
+{
+ gnutls-false-positive
+ Memcheck:Cond
+ ...
+ fun:gnutls_x509_ext_import_subject_alt_names
+ fun:gnutls_x509_crt_import
+ fun:gnutls_x509_crt_list_import
+ fun:gnutls_x509_crt_list_import2
+ fun:gnutls_x509_trust_list_add_trust_mem
+ fun:gnutls_x509_trust_list_add_trust_file
+ fun:gnutls_x509_trust_list_add_system_trust
+}