]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
2158. [bug] ns_client_isself() failed to initialise key
authorMark Andrews <marka@isc.org>
Tue, 6 Mar 2007 01:14:27 +0000 (01:14 +0000)
committerMark Andrews <marka@isc.org>
Tue, 6 Mar 2007 01:14:27 +0000 (01:14 +0000)
                        leading to a REQUIRE failure. [RT #16688]

CHANGES
bin/named/client.c

diff --git a/CHANGES b/CHANGES
index b448842d01188396bccb00303e6f6d867902fd34..03020d9419f80eaf26c342635d502e98c6df4aa9 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,6 @@
+2158.  [bug]           ns_client_isself() failed to initialise key
+                       leading to a REQUIRE failure. [RT #16688]
+
 2157.  [func]          dns_db_transfernode() created. [RT #16685]
 
 2156.  [bug]           Fix node reference leaks in lookup.c:lookup_find(),
index d58238a68759075273f2e2db6bd798bc7b668e5a..89cb355669ebf71e65b438559932330ef6aa13c6 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: client.c,v 1.243 2007/02/26 00:57:03 marka Exp $ */
+/* $Id: client.c,v 1.244 2007/03/06 01:14:27 marka Exp $ */
 
 #include <config.h>
 
@@ -1226,7 +1226,7 @@ ns_client_isself(dns_view_t *myview, dns_tsigkey_t *mykey,
                 dns_rdataclass_t rdclass, void *arg)
 {
        dns_view_t *view;
-       dns_tsigkey_t *key;
+       dns_tsigkey_t *key = NULL;
        dns_name_t *tsig = NULL;
        isc_netaddr_t netsrc;
        isc_netaddr_t netdst;