[compiler-rt] [lsan] Fix free(NULL) interception during initialization (PR #106912)
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 11 14:45:41 PDT 2024
================
@@ -77,6 +77,8 @@ INTERCEPTOR(void*, malloc, uptr size) {
}
INTERCEPTOR(void, free, void *p) {
+ if (!p)
----------------
vitalybuka wrote:
Please rebase and include into the patch removal of XFAIL added in #108289
https://github.com/llvm/llvm-project/pull/106912
More information about the llvm-commits
mailing list