Merge branch '3500-nsec3-missing-detach-node-9_16' into 'v9_16'

[v9_16] nsec3.c: Add a missing dns_db_detachnode() call

See merge request isc-projects/bind9!6694
This commit is contained in:
Matthijs Mekking
2022-08-23 11:10:41 +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]
5945. [bug] If parsing /etc/bind.key failed, delv could assert
when trying to parse the built in trust anchors as
the parser hadn't been reset. [GL !6468]

View File

@@ -1833,6 +1833,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);
}