Commit 9cd5240edf82b63b883bdf4be3e01db16f635a23

Patrick Steinhardt 2019-09-21T19:13:40

Merge pull request #5240 from pks-t/pks/valgrind-suppress-gcrypt valgrind: suppress memory leaks in libssh2_session_handshake

diff --git a/script/valgrind.supp b/script/valgrind.supp
index b747919..6ea687a 100644
--- a/script/valgrind.supp
+++ b/script/valgrind.supp
@@ -56,6 +56,15 @@
 }
 
 {
+	ignore-libssh2-init
+	Memcheck:Leak
+	...
+	fun:gcry_control
+	fun:libssh2_init
+	...
+}
+
+{
 	ignore-libssh2-gcrypt-control-leak
 	Memcheck:Leak
 	...
@@ -104,6 +113,17 @@
 }
 
 {
+	ignore-libssh2-gcrypt-session-handshake
+	Memcheck:Leak
+	...
+	obj:*libgcrypt.so*
+	obj:*libssh2.so*
+	obj:*libssh2.so*
+	fun:libssh2_session_handshake
+	...
+}
+
+{
 	ignore-noai6ai_cached-double-free
 	Memcheck:Free
 	fun:free