From add14b62f67a2e7a03aa0bb7dc461c69165e6582 Mon Sep 17 00:00:00 2001 From: Attila Szegedi Date: Fri, 26 Jun 2026 14:35:42 +0200 Subject: [PATCH] fix(test): suppress OpenSSL builtin-compressions LSan leak on Node 26 Node 26's OpenSSL populates a global builtin-compressions list during OPENSSL_init_crypto (ossl_load_builtin_compressions) that is never freed at process exit, causing the ASAN job to fail with a 24-byte leak report. This is the same class of benign one-time process-init leak we already suppress via CRYPTO_zalloc, but this path allocates via CRYPTO_malloc and so slips through. Suppress the specific ossl_load_builtin_compressions frame rather than broadening to CRYPTO_malloc, which is OpenSSL's general allocator and could mask genuine leaks in crypto code paths. Co-Authored-By: Claude Opus 4.8 (1M context) --- suppressions/lsan_suppr.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/suppressions/lsan_suppr.txt b/suppressions/lsan_suppr.txt index 2f08beb7..083464a2 100644 --- a/suppressions/lsan_suppr.txt +++ b/suppressions/lsan_suppr.txt @@ -1 +1,2 @@ -leak:CRYPTO_zalloc \ No newline at end of file +leak:CRYPTO_zalloc +leak:ossl_load_builtin_compressions \ No newline at end of file