]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
uninitialized pointer could potentially (but not likely)
authorAndreas Gustafsson <source@isc.org>
Mon, 11 Jun 2001 04:24:47 +0000 (04:24 +0000)
committerAndreas Gustafsson <source@isc.org>
Mon, 11 Jun 2001 04:24:47 +0000 (04:24 +0000)
be passed to free_adbfind(); if it happened, it would look like RT #1393
(caught by bwelling)

lib/dns/adb.c

index 4bf1b99557c450a5fa4c68fe24c0df3b01f34325..2835b2b5eca1aee2c58cbd59ede5ad912e4b8f76 100644 (file)
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: adb.c,v 1.162.2.7 2001/05/29 22:44:23 bwelling Exp $ */
+/* $Id: adb.c,v 1.162.2.8 2001/06/11 04:24:47 gson Exp $ */
 
 /*
  * Implementation notes
@@ -3739,7 +3739,7 @@ fetch_callback_a6(isc_task_t *task, isc_event_t *ev) {
 static isc_result_t
 fetch_name_v4(dns_adbname_t *adbname, isc_boolean_t start_at_root) {
        isc_result_t result;
-       dns_adbfetch_t *fetch;
+       dns_adbfetch_t *fetch = NULL;
        dns_adb_t *adb;
        dns_name_t *name;
        dns_rdataset_t rdataset;