2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 14:07:59 +00:00

618. [bug] Queries to a signed zone could sometimes cause

an assertion failure.
This commit is contained in:
Brian Wellington 2000-12-16 02:30:58 +00:00
parent d06083ba21
commit c8fc692fa1
2 changed files with 9 additions and 2 deletions

View File

@ -1,4 +1,7 @@
618. [bug] Queries to a signed zone could sometimes cause
an assertion failure.
617. [bug] When using dynamic update to add a new RR to an 617. [bug] When using dynamic update to add a new RR to an
existing RRset with a different TTL, the journal existing RRset with a different TTL, the journal
entries generated from the update did not include entries generated from the update did not include

View File

@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/ */
/* $Id: query.c,v 1.161 2000/12/11 19:19:12 bwelling Exp $ */ /* $Id: query.c,v 1.162 2000/12/16 02:30:58 bwelling Exp $ */
#include <config.h> #include <config.h>
@ -1221,8 +1221,12 @@ query_addadditional(void *arg, dns_name_t *name, dns_rdatatype_t qtype) {
goto addname; goto addname;
if (WANTDNSSEC(client) && sigrdataset == NULL) if (WANTDNSSEC(client) && sigrdataset == NULL)
goto addname; goto addname;
} else } else {
dns_rdataset_disassociate(rdataset); dns_rdataset_disassociate(rdataset);
if (sigrdataset != NULL &&
dns_rdataset_isassociated(sigrdataset))
dns_rdataset_disassociate(sigrdataset);
}
} }
result = dns_db_findrdataset(db, node, version, result = dns_db_findrdataset(db, node, version,
dns_rdatatype_aaaa, 0, dns_rdatatype_aaaa, 0,