mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 14:07:59 +00:00
also insist that keycount == dscpcount
This commit is contained in:
@@ -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));
|
isc_mem_put(mctx, stack, stackcount * sizeof(*stack));
|
||||||
|
|
||||||
INSIST(keycount == addrcount);
|
INSIST(keycount == addrcount);
|
||||||
|
INSIST(keycount == dscpcount);
|
||||||
|
|
||||||
ipkl->addrs = addrs;
|
ipkl->addrs = addrs;
|
||||||
ipkl->dscps = dscps;
|
ipkl->dscps = dscps;
|
||||||
|
Reference in New Issue
Block a user