]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
pullup:
authorMark Andrews <marka@isc.org>
Thu, 11 Oct 2001 01:38:49 +0000 (01:38 +0000)
committerMark Andrews <marka@isc.org>
Thu, 11 Oct 2001 01:38:49 +0000 (01:38 +0000)
1041.   [bug]           Dig/host/nslookup could catch an assertion failure
                        on SIGINT due to an uninitialized variable. [RT #1867]

CHANGES
bin/dig/dighost.c

diff --git a/CHANGES b/CHANGES
index 28bbc233d5074edb28cdcf90a00c5360d755b04e..93165d8875694b2173e201275caf1f71f23bba95 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,7 @@
+
+1041.  [bug]           Dig/host/nslookup could catch an assertion failure
+                       on SIGINT due to an uninitialized variable. [RT #1867]
+
 1040.  [bug]           Multiple listen-on-v6 options with different ports
                        were not accepted. [RT #1875]
 
index 58cf53a37477bdaac68e9c6d1f1ee8e0fa7a8ee6..60577b4c8c8fc2383befca1e2bc262cad5420c17 100644 (file)
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: dighost.c,v 1.174.2.11 2001/06/15 01:37:30 bwelling Exp $ */
+/* $Id: dighost.c,v 1.174.2.12 2001/10/11 01:38:49 marka Exp $ */
 
 /*
  * Notice to programmers:  Do not use this code as an example of how to
@@ -382,6 +382,7 @@ make_empty_lookup(void) {
        looknew->cdflag = ISC_FALSE;
        looknew->ns_search_only = ISC_FALSE;
        looknew->origin = NULL;
+       looknew->tsigctx = NULL;
        looknew->querysig = NULL;
        looknew->retries = tries;
        looknew->nsfound = 0;
@@ -452,6 +453,7 @@ clone_lookup(dig_lookup_t *lookold, isc_boolean_t servers) {
        looknew->section_additional = lookold->section_additional;
        looknew->retries = lookold->retries;
        looknew->origin = lookold->origin;
+       looknew->tsigctx = NULL;
 #ifdef DNS_OPT_NEWCODES_LIVE
        strncpy(looknew->viewname, lookold-> viewname, MXNAME);
        strncpy(looknew->zonename, lookold-> zonename, MXNAME);