diff --git a/CHANGES b/CHANGES index 27471917d1..615f80a34c 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,7 @@ +5945. [bug] If parsing /etc/bind.key failed, delv could assert + when trying to parse the built in trust anchors as + the parser hadn't been reset. [GL !6468] + 5944. [bug] Fix +http-plain-get and +http-plain-post options support in dig. Thanks to Marco Davids at SIDN for reporting the problem. [GL !6672] diff --git a/bin/delv/delv.c b/bin/delv/delv.c index bfdc975e88..f83501578c 100644 --- a/bin/delv/delv.c +++ b/bin/delv/delv.c @@ -845,6 +845,7 @@ setup_dnsseckeys(dns_client_t *client) { isc_buffer_init(&b, anchortext, sizeof(anchortext) - 1); isc_buffer_add(&b, sizeof(anchortext) - 1); + cfg_parser_reset(parser); result = cfg_parse_buffer(parser, &b, NULL, 0, &cfg_type_bindkeys, 0, &bindkeys); if (result != ISC_R_SUCCESS) {