]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
fix: dev: Only unlink from SIEVE LRU if it is still linked
authorOndřej Surý <ondrej@isc.org>
Tue, 4 Nov 2025 18:53:09 +0000 (19:53 +0100)
committerOndřej Surý <ondrej@isc.org>
Tue, 4 Nov 2025 18:53:09 +0000 (19:53 +0100)
Under the overmem conditions, the header could get unlinked from the
SIEVE LRU using a different path.  This could lead to double-unlink
which causes assertion failure.  Add a guard to ISC_SIEVE_UNLINK() to
unlink only still linked headers.

Closes #5606

Merge branch '5606-fix-assertion-failure-in-overmem-cleaning' into 'main'

See merge request isc-projects/bind9!11166


Trivial merge