]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
3071. [bug] has_nsec could be used unintialised in
authorMark Andrews <marka@isc.org>
Fri, 11 Mar 2011 12:58:38 +0000 (12:58 +0000)
committerMark Andrews <marka@isc.org>
Fri, 11 Mar 2011 12:58:38 +0000 (12:58 +0000)
                        update.c:next_active. [RT #20256]

CHANGES
bin/named/update.c

diff --git a/CHANGES b/CHANGES
index 48551d40ac92429e9d88f4a76fe099a549cc73be..6400e6cf0fafa6b96686244eee8ee8817d0e0744 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,6 @@
+3071.  [bug]           has_nsec could be used unintialised in
+                       update.c:next_active. [RT #20256]
+
 3067.  [bug]           ixfr-from-differences {master|slave}; failed to
                        select the master/slave zones.  [RT #23580]
 
index fddebe35980429c8a3130c701f32d22c65f16568..73e5f2b6449565598960118ecc0f4939f229adbb 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: update.c,v 1.109.18.33 2009/07/28 15:57:26 marka Exp $ */
+/* $Id: update.c,v 1.109.18.34 2011/03/11 12:58:38 marka Exp $ */
 
 #include <config.h>
 
@@ -1549,7 +1549,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;
 
        CHECK(dns_db_createiterator(db, ISC_FALSE, &dbit));