From 5fc403702b0109a907ef7e41f97c180e93c96e57 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Fri, 5 Jun 2026 16:58:45 +0200 Subject: [PATCH] leak-detective: Also ignore unknown memory freed in OPENSSL_cleanup() It seems that 18a94525a7d5 was a bit hasty. Apparently, it's still the case that there were reports (at least in some test scenarios). Luckily, the new facility added in the previous commit allows us to whitelist these allocations without having to ignore all unknown memory. --- src/libstrongswan/utils/leak_detective.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libstrongswan/utils/leak_detective.c b/src/libstrongswan/utils/leak_detective.c index a3215014a2..616613a725 100644 --- a/src/libstrongswan/utils/leak_detective.c +++ b/src/libstrongswan/utils/leak_detective.c @@ -680,6 +680,7 @@ static char *whitelist[] = { */ static char *unknown_memory_whitelist[] = { "tzset", + "OPENSSL_cleanup", }; /** -- 2.47.3