3071. [bug] has_nsec could be used unintialised in

update.c:next_active. [RT #20256]
This commit is contained in:
Mark Andrews
2011-03-11 12:51:40 +00:00
parent 6494526350
commit 4f587beb8e
2 changed files with 5 additions and 2 deletions

View File

@@ -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]

View 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);