From f125c325913a3a3cae08b26922e7a334d0c53133 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 (cherry picked from commit dbdd19853e7308df6d338d46d87b6af4312f4e74) --- bin/named/config.c | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/named/config.c b/bin/named/config.c index 32c454a6da..91fb25745b 100644 --- a/bin/named/config.c +++ b/bin/named/config.c @@ -864,6 +864,7 @@ ns_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;