Merge branch '3500-nsec3-missing-detach-node' into 'main'

nsec3.c: Add a missing dns_db_detachnode() call

Closes #3500

See merge request isc-projects/bind9!6692
This commit is contained in:
Matthijs Mekking
2022-08-23 10:03:28 +00:00
2 changed files with 4 additions and 0 deletions

View File

@@ -1,3 +1,6 @@
5948. [bug] Fix nsec3.c:dns_nsec3_activex() function, add a missing
dns_db_detachnode() call. [GL #3500]
5947. [func] Change dnssec-policy to allow graceful transition from
an NSEC only zone to NSEC3. [GL #3486]

View File

@@ -1830,6 +1830,7 @@ dns_nsec3_activex(dns_db_t *db, dns_dbversion_t *version, bool complete,
try_private:
if (privatetype == 0 || complete) {
dns_db_detachnode(db, &node);
*answer = false;
return (ISC_R_SUCCESS);
}