]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
pullup:
authorAndreas Gustafsson <source@isc.org>
Fri, 15 Sep 2000 23:47:14 +0000 (23:47 +0000)
committerAndreas Gustafsson <source@isc.org>
Fri, 15 Sep 2000 23:47:14 +0000 (23:47 +0000)
 463.   [bug]           nsupdate sent malformed SOA queries to the second
                        and subsequent name servers in resolv.conf if the
                        query sent to the first one failed.

CHANGES
bin/nsupdate/nsupdate.c

diff --git a/CHANGES b/CHANGES
index fbd9d67f3801414018675d92da5b916c22deafd5..ab2931a190e18a1e57764b0d15f29e53dc4890da 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,10 @@
 
        --- 9.0.0 released ---
 
+ 463.  [bug]           nsupdate sent malformed SOA queries to the second
+                       and subsequent name servers in resolv.conf if the
+                       query sent to the first one failed.
+
  461.  [bug]           Specifying an unknown key in the "keys" clause of the
                        "controls" statement caused a NULL pointer dereference.
                        [RT #316]
index d0fc8bad4a97efc852e09a077ebda5f2407bd724..9c6031252a34f1fa2ee5b7e26174a2582a3fc106 100644 (file)
@@ -15,7 +15,7 @@
  * SOFTWARE.
  */
 
-/* $Id: nsupdate.c,v 1.8.2.6 2000/08/15 01:14:51 gson Exp $ */
+/* $Id: nsupdate.c,v 1.8.2.7 2000/09/15 23:47:14 gson Exp $ */
 
 #include <config.h>
 
@@ -1198,6 +1198,7 @@ recvsoa(isc_task_t *task, isc_event_t *event) {
                        fatal("Couldn't talk to any default nameserver.");
                ddebug("Destroying request [%lx]", request);
                dns_request_destroy(&request);
+               dns_message_renderreset(soaquery);
                sendrequest(&servers[ns_inuse], soaquery, &request);
                isc_mem_put(mctx, reqinfo, sizeof(nsu_requestinfo_t));
                return;