]> git.ipfire.org Git - thirdparty/bind9.git/commit
nsec3.c: Add a missing dns_db_detachnode() call
authorMatthijs Mekking <matthijs@isc.org>
Tue, 23 Aug 2022 08:54:42 +0000 (10:54 +0200)
committerMatthijs Mekking <matthijs@isc.org>
Tue, 23 Aug 2022 09:01:31 +0000 (11:01 +0200)
commite633398010fe4e173df47b57fd43da594af96c7c
treef304ce455fa5e32dcb62c731562e2132ff9622dc
parentae1433408336432e6dc8b50b37fdb1356d6c77ed
nsec3.c: Add a missing dns_db_detachnode() call

There is one case in 'dns_nsec3_activex()' where it returns but forgets
to detach the db node. Add the missing 'dns_db_detachnode()' call.

This case only triggers if 'sig-signing-type' (privatetype) is set to 0
(which by default is not), or if the function is called with 'complete'
is set to 'true' (which at this moment do not exist).
lib/dns/nsec3.c