summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2019-11-24 15:59:26 +1100
committerEdward Thomson <ethomson@edwardthomson.com>2019-11-24 17:29:38 +1100
commit2ad3eb3e8e87d3ae190f894a39c324b8d6da59bb (patch)
treef74c6b5f8683d831eb3d7f83c8953f938b193ba9 /script
parent0005c77afa8cbc084ebc60561a03e97a7bcf8e6e (diff)
downloadlibgit2-2ad3eb3e8e87d3ae190f894a39c324b8d6da59bb.tar.gz
valgrind: add suppressions for undefined use
valgrind will warn that OpenSSL will use undefined data in connect/read when talking to certain other TLS stacks. Thankfully, this only seems to occur when gcc is the compiler, so hopefully valgrind is just misunderstanding an optimization. Regardless, suppress this warning.
Diffstat (limited to 'script')
-rw-r--r--script/valgrind.supp20
1 files changed, 20 insertions, 0 deletions
diff --git a/script/valgrind.supp b/script/valgrind.supp
index 8459a71ad..d938aa9c9 100644
--- a/script/valgrind.supp
+++ b/script/valgrind.supp
@@ -124,6 +124,26 @@
}
{
+ ignore-openssl-undefined-in-read
+ Memcheck:Cond
+ ...
+ obj:*libssl.so*
+ ...
+ fun:openssl_read
+ ...
+}
+
+{
+ ignore-openssl-undefined-in-connect
+ Memcheck:Cond
+ ...
+ obj:*libssl.so*
+ ...
+ fun:openssl_connect
+ ...
+}
+
+{
ignore-libssh2-rsa-sha1-sign
Memcheck:Leak
...