From: Mark Andrews Date: Fri, 11 Mar 2011 12:51:40 +0000 (+0000) Subject: 3071. [bug] has_nsec could be used unintialised in X-Git-Tag: v9.9.0a1~531 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=4f587beb8eb70f198346333bce5b89df3ac5c88e;p=thirdparty%2Fbind9.git 3071. [bug] has_nsec could be used unintialised in update.c:next_active. [RT #20256] --- diff --git a/CHANGES b/CHANGES index 5160fd15f1f..d5b2e88d26b 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,6 @@ +3071. [bug] has_nsec could be used unintialised in + update.c:next_active. [RT #20256] + 3070. [bug] dnssec-signzone potential NULL pointer dereference. [RT #20256] diff --git a/bin/named/update.c b/bin/named/update.c index fdf4c8b2d36..3d6ac73b386 100644 --- a/bin/named/update.c +++ b/bin/named/update.c @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: update.c,v 1.190 2011/03/11 06:11:21 marka Exp $ */ +/* $Id: update.c,v 1.191 2011/03/11 12:51:40 marka Exp $ */ #include @@ -1692,7 +1692,7 @@ next_active(ns_client_t *client, dns_zone_t *zone, dns_db_t *db, { isc_result_t result; dns_dbiterator_t *dbit = NULL; - isc_boolean_t has_nsec; + isc_boolean_t has_nsec = ISC_FALSE; unsigned int wraps = 0; isc_boolean_t secure = dns_db_issecure(db);