]> git.ipfire.org Git - thirdparty/bind9.git/commit
qpzone find() function could set foundname incorrectly
authorEvan Hunt <each@isc.org>
Thu, 19 Dec 2024 22:19:43 +0000 (14:19 -0800)
committerEvan Hunt <each@isc.org>
Fri, 10 Jan 2025 01:03:51 +0000 (17:03 -0800)
commitad4bab306c797088cc254d06c99bd41cbad9ee3b
treeccacaddea1e0d20efa82c00a0bd688fa84fc5c09
parent9636dc1a1e9e9ac671c89e2ae0cfc3d4be0ee40b
qpzone find() function could set foundname incorrectly

when a requested name is found in the QP trie during a lookup, but its
records have been marked as nonexistent by a previous deletion, then
it's treated as a partial match, but the foundname could be left
pointing to the original qname rather than the parent. this could
lead to an assertion failure in query_findclosestnsec3().
lib/dns/qpzone.c
tests/dns/dbversion_test.c