2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

1175. [bug] named-checkzone and named-checkconf failed to call

dns_result_register() at startup which could
                        result in runtime exceptions when printing
                        "out of memory" errors. [RT #2335]
This commit is contained in:
Mark Andrews
2002-01-14 01:42:04 +00:00
parent 9cf6d43887
commit e9472e9f18
3 changed files with 11 additions and 2 deletions

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: named-checkconf.c,v 1.20 2002/01/04 02:31:57 gson Exp $ */
/* $Id: named-checkconf.c,v 1.21 2002/01/14 01:42:03 marka Exp $ */
#include <config.h>
@@ -241,6 +241,8 @@ main(int argc, char **argv) {
RUNTIME_CHECK(setup_logging(mctx, &logc) == ISC_R_SUCCESS);
dns_result_register();
RUNTIME_CHECK(cfg_parser_create(mctx, logc, &parser) == ISC_R_SUCCESS);
cfg_parser_setcallback(parser, directory_callback, NULL);