]> git.ipfire.org Git - thirdparty/bind9.git/commit
Enforce disabling internal memory allocator for AddressSanitizer
authorOndřej Surý <ondrej@sury.org>
Thu, 25 Feb 2021 12:07:49 +0000 (13:07 +0100)
committerEvan Hunt <each@isc.org>
Fri, 26 Feb 2021 18:13:56 +0000 (10:13 -0800)
commit0bd834856e8128712957cfe1575189dfd979573d
treea6918cbac033953bca55e6628b640ba88b560fbe
parent1cd14c4dece91ba2ff1550594673c21d1cd67f66
Enforce disabling internal memory allocator for AddressSanitizer

Disable the internal memory allocator when AddressSanitizer is in use.
The basic blocks in the internal memory allocator prevents
AddressSanitizer from properly tracking the allocations and
deallocations, so we need to ensure it has been disabled for any build
that has AddressSanitizer enabled.
lib/isc/include/isc/mem.h
lib/isc/mem.c