Some MemorySanitizer fixes

This commit is contained in:
Alexander Kuzmenkov 2020-03-26 12:59:25 +03:00
parent 54e6f63226
commit 1726404625
2 changed files with 3 additions and 1 deletions

View File

@ -177,7 +177,8 @@ public:
// We may log some specific signals afterwards, with different log
// levels and more info, but for completeness we log all signals
// here at trace level.
LOG_TRACE(log, "Received signal " << strsignal(sig) << " (" << sig << ")");
// Don't use strsignal here, because it's not thread-safe.
LOG_TRACE(log, "Received signal " << sig);
if (sig == Signals::StopThread)
{

View File

@ -19,4 +19,5 @@ fun:BN_cmp
src:*/contrib/zlib-ng/*
src:*/contrib/openssl/*
src:*/contrib/simdjson/*
src:*/contrib/lz4/*