mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-02 23:55:27 +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:
@@ -15,7 +15,7 @@
|
||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: named-checkzone.c,v 1.18 2001/10/02 22:54:26 gson Exp $ */
|
||||
/* $Id: named-checkzone.c,v 1.19 2002/01/14 01:42:04 marka Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
@@ -143,6 +143,8 @@ main(int argc, char **argv) {
|
||||
dns_log_setcontext(lctx);
|
||||
}
|
||||
|
||||
dns_result_register();
|
||||
|
||||
origin = argv[isc_commandline_index++];
|
||||
filename = argv[isc_commandline_index++];
|
||||
result = load_zone(mctx, origin, filename, classname, &zone);
|
||||
|
Reference in New Issue
Block a user