Skip to content

Commit

Permalink
Suppressing TLS variable leaks created by BoringSSL
Browse files Browse the repository at this point in the history
Summary: These variables are known to not be accounted properly
in valgrind leak reports

Test Plan: Ran Sandcastle.

Reviewers:avr
  • Loading branch information
anirbanr-fb committed Jun 10, 2017
1 parent 3a7334c commit 00cf9e3
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions mysql-test/valgrind.supp
Original file line number Diff line number Diff line change
Expand Up @@ -1143,3 +1143,34 @@
...
fun:_ZL26mysql_real_connect_wrapperP8st_mysqlPKcS2_S2_S2_jS2_m
}
{
TLS data on main thread is not cleaned up properly
Memcheck:Leak
match-leak-kinds: reachable
fun:malloc
fun:CRYPTO_set_thread_local
fun:RAND_bytes_with_additional_data.part.15
fun:RAND_bytes_with_additional_data
fun:RAND_bytes
fun:SSL_CTX_new
fun:new_VioSSLFd
fun:new_VioSSLAcceptorFd
fun:_Z8init_sslv
fun:_Z11mysqld_mainiPPc
fun:main
}
{
TLS data on main thread is not cleaned up properly
Memcheck:Leak
match-leak-kinds: reachable
fun:malloc
fun:RAND_bytes_with_additional_data.part.15
fun:RAND_bytes_with_additional_data
fun:RAND_bytes
fun:SSL_CTX_new
fun:new_VioSSLFd
fun:new_VioSSLAcceptorFd
fun:_Z8init_sslv
fun:_Z11mysqld_mainiPPc
fun:main
}

0 comments on commit 00cf9e3

Please sign in to comment.