]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: pools: disable redundant poisonning on pool_free()
authorWilly Tarreau <w@1wt.eu>
Wed, 23 Feb 2022 10:45:09 +0000 (11:45 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 23 Feb 2022 16:11:33 +0000 (17:11 +0100)
commitaf580f659caf025c512429210e069c35f6fff4e8
treef86b0af8f302c6daabc1d4f5176b5799f2ef00ec
parentb61fccdc3f1ad23597ae1bf330855d115a60b6b5
MINOR: pools: disable redundant poisonning on pool_free()

The poisonning performed on pool_free() used to help a little bit with
use-after-free detection, but usually did more harm than good in that
it was never possible to perform post-mortem analysis on released
objects once poisonning was enabled on allocation. Now that there is
a dedicated DEBUG_POOL_INTEGRITY, let's get rid of this annoyance
which is not even documented in the management manual.
doc/internals/api/pools.txt
src/pool.c