]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
1175. [bug] named-checkzone failed to call dns_result_register()
authorAndreas Gustafsson <source@isc.org>
Tue, 22 Jan 2002 23:34:56 +0000 (23:34 +0000)
committerAndreas Gustafsson <source@isc.org>
Tue, 22 Jan 2002 23:34:56 +0000 (23:34 +0000)
                        at startup which could result in runtime
                        exceptions when printing "out of memory" errors.
                        [RT #2335]
(The named-checkconf.c change was not pulled up; it is not applicable
to the 9.2 branch because the 9.2 named-checkconf.c does not link
with libdns)

CHANGES
bin/check/named-checkzone.c

diff --git a/CHANGES b/CHANGES
index c0ef88184130832f16cb9a69375881dbc7c197a3..8636b201358136a9fbaab273a609e502704af2cb 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -8,6 +8,11 @@
                        for clients that are supplied recursive service.
                        [RT #2260]
 
+1175.  [bug]           named-checkzone failed to call dns_result_register()
+                       at startup which could result in runtime
+                       exceptions when printing "out of memory" errors.
+                       [RT #2335]
+
 1165.  [bug]           We were rejecting notify-source{-v6} in zone clauses.
 
 1164.  [bug]           Empty masters clauses in slave / stub zones were not
index 9625bbce77abca243a106daadf6a6933ecc68e3a..fe50e19274f663227cb57ba96c902d9b12f9e576 100644 (file)
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: named-checkzone.c,v 1.13 2001/06/29 01:04:59 gson Exp $ */
+/* $Id: named-checkzone.c,v 1.13.2.1 2002/01/22 23:34:56 gson Exp $ */
 
 #include <config.h>
 
@@ -157,6 +157,8 @@ main(int argc, char **argv) {
                dns_log_setcontext(lctx);
        }
 
+       dns_result_register();
+
        origin = argv[isc_commandline_index++];
        filename = argv[isc_commandline_index++];
        result = setup(origin, filename, classname);