]> git.ipfire.org Git - thirdparty/bind9.git/commit
update foundname when detecting a zonecut above qname
authorEvan Hunt <each@isc.org>
Mon, 1 Apr 2024 20:41:39 +0000 (13:41 -0700)
committerOndřej Surý <ondrej@isc.org>
Tue, 2 Apr 2024 08:00:03 +0000 (10:00 +0200)
commitea6659a5e982b830350efa75428a90fac94df825
tree9f8bec21c75b168247c9f370941817584700cac4
parentb4cc46de07ee7506df48025e87272c3b14f3605d
update foundname when detecting a zonecut above qname

an assertion could be triggered in the QPDB cache if a DNAME
was found above a queried NS, because the 'foundname' value was
not correctly updated to point to the zone cut.

the same mistake existed in qpzone and has been fixed there as well.
lib/dns/qpcache.c
lib/dns/qpzone.c