From 4f587beb8eb70f198346333bce5b89df3ac5c88e Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Fri, 11 Mar 2011 12:51:40 +0000 Subject: [PATCH] 3071. [bug] has_nsec could be used unintialised in update.c:next_active. [RT #20256] --- CHANGES | 3 +++ bin/named/update.c | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index 5160fd15f1..d5b2e88d26 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 fdf4c8b2d3..3d6ac73b38 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);