]> 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:54:11 +0000 (12:54 +0000)
committerMark Andrews <marka@isc.org>
Fri, 11 Mar 2011 12:54:11 +0000 (12:54 +0000)
                        update.c:next_active. [RT #20256]

CHANGES
bin/named/update.c

diff --git a/CHANGES b/CHANGES
index ff63bf31d4bfdda793e153efa7b917e65d557c3a..f1d88cf63ee766717a1fb3100181e97b2d4275ec 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]
+
 3070.  [bug]           dnssec-signzone potential NULL pointer dereference.
                        [RT #20256]
 
index eda312e1fff24bd2591cef7ceed14faf8f7514a8..af2e5ef11d7b0b753a63d7fda118c8867395541c 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: update.c,v 1.186.16.3 2011/03/11 06:47:01 marka Exp $ */
+/* $Id: update.c,v 1.186.16.4 2011/03/11 12:54:11 marka Exp $ */
 
 #include <config.h>
 
@@ -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);