From: Mark Andrews Date: Thu, 11 Oct 2001 01:38:49 +0000 (+0000) Subject: pullup: X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c059a548dd009ca917585201bba30aac6cb8669f;p=thirdparty%2Fbind9.git pullup: 1041. [bug] Dig/host/nslookup could catch an assertion failure on SIGINT due to an uninitialized variable. [RT #1867] --- diff --git a/CHANGES b/CHANGES index 28bbc233d50..93165d88756 100644 --- 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] diff --git a/bin/dig/dighost.c b/bin/dig/dighost.c index 58cf53a3747..60577b4c8c8 100644 --- a/bin/dig/dighost.c +++ b/bin/dig/dighost.c @@ -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);