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

CHANGES
bin/named/update.c

diff --git a/CHANGES b/CHANGES
index 5160fd15f1f375ce239cc9467715eb26403f4535..d5b2e88d26b6c10764e94017bad5d3610f43bdfd 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 fdf4c8b2d36a59c751568411ff9caf8f613a822b..3d6ac73b386fd3da0ad2b4ad95dc65ced3b0c821 100644 (file)
@@ -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 <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);