mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 13:38:26 +00:00
2869. [bug] Fix arguments to dns_keytable_findnextkeynode() call.
[RT #20877]
This commit is contained in:
parent
b1fa56e8da
commit
b8d036c434
3
CHANGES
3
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
|
2868. [cleanup] Run "make clean" at the end of configure to ensure
|
||||||
any changes made by configure are integrated.
|
any changes made by configure are integrated.
|
||||||
Use --with-make-clean=no to disable. [RT #20994]
|
Use --with-make-clean=no to disable. [RT #20994]
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* 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 <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
@ -2211,7 +2211,7 @@ validatezonekey(dns_validator_t *val) {
|
|||||||
result == ISC_R_SUCCESS;
|
result == ISC_R_SUCCESS;
|
||||||
result = dns_rdataset_next(val->event->sigrdataset))
|
result = dns_rdataset_next(val->event->sigrdataset))
|
||||||
{
|
{
|
||||||
dns_keynode_t *keynode = NULL, *nextnode = NULL;
|
dns_keynode_t *keynode = NULL;
|
||||||
|
|
||||||
dns_rdata_reset(&sigrdata);
|
dns_rdata_reset(&sigrdata);
|
||||||
dns_rdataset_current(val->event->sigrdataset,
|
dns_rdataset_current(val->event->sigrdataset,
|
||||||
@ -2231,6 +2231,7 @@ validatezonekey(dns_validator_t *val) {
|
|||||||
result == ISC_R_SUCCESS)
|
result == ISC_R_SUCCESS)
|
||||||
atsep = ISC_TRUE;
|
atsep = ISC_TRUE;
|
||||||
while (result == ISC_R_SUCCESS) {
|
while (result == ISC_R_SUCCESS) {
|
||||||
|
dns_keynode_t *nextnode = NULL;
|
||||||
dstkey = dns_keynode_key(keynode);
|
dstkey = dns_keynode_key(keynode);
|
||||||
if (dstkey == NULL) {
|
if (dstkey == NULL) {
|
||||||
dns_keytable_detachkeynode(
|
dns_keytable_detachkeynode(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user