Skip to content

Commit 9cd5240

Browse files
authored
Merge pull request libgit2#5240 from pks-t/pks/valgrind-suppress-gcrypt
valgrind: suppress memory leaks in libssh2_session_handshake
2 parents 3c1aa23 + 56d5b44 commit 9cd5240

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

script/valgrind.supp

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,15 @@
5555
fun:curl_global_init
5656
}
5757

58+
{
59+
ignore-libssh2-init
60+
Memcheck:Leak
61+
...
62+
fun:gcry_control
63+
fun:libssh2_init
64+
...
65+
}
66+
5867
{
5968
ignore-libssh2-gcrypt-control-leak
6069
Memcheck:Leak
@@ -103,6 +112,17 @@
103112
obj:*libssh2.so*
104113
}
105114

115+
{
116+
ignore-libssh2-gcrypt-session-handshake
117+
Memcheck:Leak
118+
...
119+
obj:*libgcrypt.so*
120+
obj:*libssh2.so*
121+
obj:*libssh2.so*
122+
fun:libssh2_session_handshake
123+
...
124+
}
125+
106126
{
107127
ignore-noai6ai_cached-double-free
108128
Memcheck:Free

0 commit comments

Comments
 (0)