]> git.ipfire.org Git - thirdparty/bind9.git/commit
fix the cache findzonecut implementation
authorEvan Hunt <each@isc.org>
Sat, 1 Feb 2025 21:09:22 +0000 (13:09 -0800)
committerEvan Hunt <each@isc.org>
Sun, 2 Feb 2025 21:22:32 +0000 (13:22 -0800)
commit291d0d8d90adea5499af6dc5a030ef0eaba890cf
tree985f9660aabe16b91c9a20055aeb69fe48a9eb77
parent0987d2864365d4fcda840ed90c3650e4b031ffea
fix the cache findzonecut implementation

the search for the deepest known zone cut in the cache could
improperly reject a node containing stale data, even if the
NS rdataset wasn't the data that was stale.

this change also improves the efficiency of the search by
stopping it when both NS and RRSIG(NS) have been found.

(cherry picked from commit 1f095b902c834fd7bf0805605548ef8ca14c5af3)
bin/tests/system/qmin/tests.sh
lib/dns/rbtdb.c