]> git.ipfire.org Git - thirdparty/bind9.git/commit
Disable inactive uvreqs caching when compiled with sanitizers
authorOndřej Surý <ondrej@isc.org>
Wed, 23 Feb 2022 23:14:26 +0000 (00:14 +0100)
committerOndřej Surý <ondrej@isc.org>
Wed, 23 Feb 2022 23:16:31 +0000 (00:16 +0100)
commitfe5cd40a3acc33cb01479265fc887accff794441
tree489b4f8117b8869fac9d18014ab8d856c8c6be56
parent55780afdb9e083426c824ae163430354cfa9e0c0
Disable inactive uvreqs caching when compiled with sanitizers

When isc__nm_uvreq_t gets deactivated, it could be just put onto array
stack to be reused later to save some initialization time.
Unfortunately, this might hide some use-after-free errors.

Disable the inactive uvreqs caching when compiled with Address or
Thread Sanitizer.

(cherry picked from commit be339b3c8399bb6ccf8acd26edfbb721b9c7e256)
lib/isc/netmgr/netmgr.c