From: Mark Andrews Date: Fri, 26 Mar 2010 17:12:48 +0000 (+0000) Subject: 2869. [bug] Fix arguments to dns_keytable_findnextkeynode() call. X-Git-Tag: v9.4-ESV-R2~14^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8d036c434d68e358c95bcb7268b5c310ed0579c;p=thirdparty%2Fbind9.git 2869. [bug] Fix arguments to dns_keytable_findnextkeynode() call. [RT #20877] --- diff --git a/CHANGES b/CHANGES index 0a50cfc42ed..7f2e159c78b 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,6 @@ +2869. [bug] Fix arguments to dns_keytable_findnextkeynode() call. + [RT #20877] + 2868. [cleanup] Run "make clean" at the end of configure to ensure any changes made by configure are integrated. Use --with-make-clean=no to disable. [RT #20994] diff --git a/lib/dns/validator.c b/lib/dns/validator.c index fb3c5b5df87..8227c770107 100644 --- a/lib/dns/validator.c +++ b/lib/dns/validator.c @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: validator.c,v 1.187 2010/03/04 23:50:34 tbox Exp $ */ +/* $Id: validator.c,v 1.188 2010/03/26 17:12:48 marka Exp $ */ #include @@ -2211,7 +2211,7 @@ validatezonekey(dns_validator_t *val) { result == ISC_R_SUCCESS; result = dns_rdataset_next(val->event->sigrdataset)) { - dns_keynode_t *keynode = NULL, *nextnode = NULL; + dns_keynode_t *keynode = NULL; dns_rdata_reset(&sigrdata); dns_rdataset_current(val->event->sigrdataset, @@ -2231,6 +2231,7 @@ validatezonekey(dns_validator_t *val) { result == ISC_R_SUCCESS) atsep = ISC_TRUE; while (result == ISC_R_SUCCESS) { + dns_keynode_t *nextnode = NULL; dstkey = dns_keynode_key(keynode); if (dstkey == NULL) { dns_keytable_detachkeynode(