Skip to content

Commit 57bfabe

Browse files
Herman Leefacebook-github-bot
Herman Lee
authored andcommitted
Add valgrind suppression rule for handshake
Summary: Add valgrind suppression rule for ssl handshake since it is thread local data that is not cleaned up. Reviewed By: lth Differential Revision: D7305490 fbshipit-source-id: f366c40
1 parent d2842d0 commit 57bfabe

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

mysql-test/valgrind.supp

+18
Original file line numberDiff line numberDiff line change
@@ -1251,6 +1251,24 @@
12511251
fun:new_VioSSLFd
12521252
...
12531253
}
1254+
{
1255+
TLS data on main thread is not cleaned up properly
1256+
Memcheck:Leak
1257+
match-leak-kinds: reachable
1258+
fun:malloc
1259+
fun:OPENSSL_malloc
1260+
...
1261+
fun:do_start_connect
1262+
fun:bssl::ssl_client_handshake
1263+
fun:bssl::ssl_run_handshake
1264+
fun:SSL_do_handshake
1265+
fun:SSL_connect
1266+
fun:ssl_handshake_loop
1267+
fun:ssl_do
1268+
fun:sslconnect
1269+
fun:run_ssl_connect
1270+
...
1271+
}
12541272

12551273
{
12561274
Valgrind complains about std::unordered_map ctor in ha_rocksdb

0 commit comments

Comments
 (0)