mirror of
https://github.com/isc-projects/bind9.git
synced 2026-02-27 03:51:16 -05:00
618. [bug] Queries to a signed zone could sometimes cause
an assertion failure.
This commit is contained in:
parent
d06083ba21
commit
c8fc692fa1
2 changed files with 9 additions and 2 deletions
3
CHANGES
3
CHANGES
|
|
@ -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
|
||||
existing RRset with a different TTL, the journal
|
||||
entries generated from the update did not include
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* 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>
|
||||
|
||||
|
|
@ -1221,8 +1221,12 @@ query_addadditional(void *arg, dns_name_t *name, dns_rdatatype_t qtype) {
|
|||
goto addname;
|
||||
if (WANTDNSSEC(client) && sigrdataset == NULL)
|
||||
goto addname;
|
||||
} else
|
||||
} else {
|
||||
dns_rdataset_disassociate(rdataset);
|
||||
if (sigrdataset != NULL &&
|
||||
dns_rdataset_isassociated(sigrdataset))
|
||||
dns_rdataset_disassociate(sigrdataset);
|
||||
}
|
||||
}
|
||||
result = dns_db_findrdataset(db, node, version,
|
||||
dns_rdatatype_aaaa, 0,
|
||||
|
|
|
|||
Loading…
Reference in a new issue