]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
fixup! Remove name from shared DBNODE members
authorAlessio Podda <alessio@isc.org>
Mon, 8 Sep 2025 19:01:49 +0000 (21:01 +0200)
committerAlessio Podda <alessio@isc.org>
Wed, 24 Sep 2025 16:58:26 +0000 (18:58 +0200)
lib/dns/qpzone.c

index fdb528c432994d1b11e83ec76f721a2e7d6e33ce..16c5faec88a4c68463de2c41f2b8c9bfbcb31d0c 100644 (file)
@@ -2429,7 +2429,7 @@ again:
                *resign = RESIGN(header)
                                  ? (header->resign << 1) | header->resign_lsb
                                  : 0;
-               dns_name_copy(&HEADERNODE(header)->name, foundname);
+               nodefullname((dns_dbnode_t *)HEADERNODE(header), foundname);
                *typepair = header->typepair;
                result = ISC_R_SUCCESS;
        }
@@ -3355,7 +3355,7 @@ qpzone_find(dns_db_t *db, const dns_name_t *name, dns_dbversion_t *version,
                if (tresult != DNS_R_CONTINUE) {
                        result = tresult;
                        search.chain.len = i - 1;
-                       dns_name_copy(&n->name, foundname);
+                       nodefullname((dns_dbnode_t *)n, foundname);
                        node = n;
                }
        }