From dbdd19853e7308df6d338d46d87b6af4312f4e74 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Fri, 6 Sep 2019 11:32:32 +1000 Subject: [PATCH] also insist that keycount == dscpcount --- bin/named/config.c | 1 + 1 file changed, 1 insertion(+) 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;