From: Andreas Gustafsson Date: Mon, 11 Jun 2001 04:24:47 +0000 (+0000) Subject: uninitialized pointer could potentially (but not likely) X-Git-Tag: v9.1.3rc2~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=808037344707987b87baa026ff8ed6c64b12bc2f;p=thirdparty%2Fbind9.git uninitialized pointer could potentially (but not likely) be passed to free_adbfind(); if it happened, it would look like RT #1393 (caught by bwelling) --- diff --git a/lib/dns/adb.c b/lib/dns/adb.c index 4bf1b99557c..2835b2b5eca 100644 --- a/lib/dns/adb.c +++ b/lib/dns/adb.c @@ -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;