mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
Merge branch 'bug/main/delv-cfg_parser_reset' into 'main'
Reset bind.keys parser after error on file See merge request isc-projects/bind9!6468
This commit is contained in:
commit
1c19a6aae8
2 changed files with 5 additions and 0 deletions
4
CHANGES
4
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]
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue