]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Add missing dumpnode call in dnssec-signzone
authorMark Andrews <marka@isc.org>
Wed, 24 Jun 2026 23:45:57 +0000 (09:45 +1000)
committerMichał Kępień <michal@isc.org>
Fri, 10 Jul 2026 07:26:46 +0000 (09:26 +0200)
When the out of zone name was skipped, to prevent it being signed,
dumpnode was not being called to preserve the contents of the node.

bin/dnssec/dnssec-signzone.c

index ba30e0e0ca48df343014eeec5e4fc8cf8c4cf8d7..5197feda6396b268c3267d22518f0103a24e180b 100644 (file)
@@ -1546,6 +1546,7 @@ assignwork(void *arg) {
                        goto next;
                }
                if (!dns_name_issubdomain(name, gorigin)) {
+                       dumpnode(name, node);
                        dns_db_detachnode(&node);
                        goto next;
                }