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

CHANGES
bin/dig/dighost.c

diff --git a/CHANGES b/CHANGES
index 05aa1852c61779b17c22510ff22713a64e62206a..2ef5bb8189b0590f4ed52fa4a069c071c20066cd 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 a8786867228f21bd8e4d1de5408dcd942e903335..7b3a163dbe34ec8fec5ff7e8c4f11107b2d3fbb5 100644 (file)
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: dighost.c,v 1.221.2.3 2001/10/04 22:03:41 gson Exp $ */
+/* $Id: dighost.c,v 1.221.2.4 2001/10/11 01:35:37 marka Exp $ */
 
 /*
  * Notice to programmers:  Do not use this code as an example of how to
@@ -376,6 +376,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;
@@ -447,6 +448,7 @@ clone_lookup(dig_lookup_t *lookold, isc_boolean_t servers) {
        looknew->section_authority = lookold->section_authority;
        looknew->section_additional = lookold->section_additional;
        looknew->retries = lookold->retries;
+       looknew->tsigctx = NULL;
 #ifdef DNS_OPT_NEWCODES_LIVE
        strncpy(looknew->viewname, lookold->viewname, MXNAME);
        strncpy(looknew->zonename, lookold->zonename, MXNAME);