diff --git a/bin/named/config.c b/bin/named/config.c index d2af0ec922..0e44c5d639 100644 --- a/bin/named/config.c +++ b/bin/named/config.c @@ -855,6 +855,7 @@ named_config_getipandkeylist(const cfg_obj_t *config, const cfg_obj_t *list, isc_mem_put(mctx, stack, stackcount * sizeof(*stack)); INSIST(keycount == addrcount); + INSIST(keycount == dscpcount); ipkl->addrs = addrs; ipkl->dscps = dscps;