Commit 314cac23 authored by Mark Andrews's avatar Mark Andrews
Browse files

1735. [bug] 'dig +sigtrace' could die with a REQUIRE failure.

                        [RE #12688]
parent 2c329da8
1735. [bug] 'dig +sigtrace' could die with a REQUIRE failure.
[RE #12688]
1734. [cleanup] 'rndc-confgen -a -t' remove extra '/' in path.
[RT #12588]
......
......@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dighost.c,v 1.267 2004/09/16 02:10:41 marka Exp $ */
/* $Id: dighost.c,v 1.268 2004/09/30 23:56:22 marka Exp $ */
/*
* Notice to programmers: Do not use this code as an example of how to
......@@ -4937,7 +4937,7 @@ prove_nx_domain(dns_message_t *msg,
dns_rdataset_t * nsecset = NULL;
dns_rdataset_t * signsecset = NULL ;
dns_rdata_t nsec = DNS_RDATA_INIT;
dns_name_t * nsecname = NULL;
dns_name_t * nsecname;
dns_rdata_nsec_t nsecstruct;
if ((result = dns_message_firstname(msg, DNS_SECTION_AUTHORITY))
......@@ -4948,6 +4948,7 @@ prove_nx_domain(dns_message_t *msg,
}
do {
nsecname = NULL;
dns_message_currentname(msg, DNS_SECTION_AUTHORITY, &nsecname);
nsecset = search_type(nsecname, dns_rdatatype_nsec,
dns_rdatatype_any);
......@@ -4993,7 +4994,6 @@ prove_nx_domain(dns_message_t *msg,
dns_rdata_freestruct(&nsecstruct);
}
nsecname = NULL;
} while (dns_message_nextname(msg, DNS_SECTION_AUTHORITY)
== ISC_R_SUCCESS);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment