]> 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:26:41 +0000 (04:26 +0000)
committerAndreas Gustafsson <source@isc.org>
Mon, 11 Jun 2001 04:26:41 +0000 (04:26 +0000)
be passed to free_adbfind(); if it happened, it would look like RT #1393
(caught by bwelling)

lib/dns/adb.c

index 3c36a60a1a7add7868c3e13f63260f0c6cf5d0c8..9a2ba3366afe2b84c5a89f6b96263be7a04a16c9 100644 (file)
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: adb.c,v 1.179 2001/06/04 19:32:55 tale Exp $ */
+/* $Id: adb.c,v 1.180 2001/06/11 04:26:41 gson Exp $ */
 
 /*
  * Implementation notes
@@ -3707,7 +3707,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;