From 1318ddb52d8a8a22eae47f7d82137e74b9beacf1 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Mon, 3 Jul 2000 05:10:14 +0000 Subject: [PATCH] 301. [bug] uninitalised pointer host:printmessage(). (RT #159) --- CHANGES | 2 ++ bin/dig/host.c | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index f1fd8cdc4c..ae512486ae 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,5 @@ + 301. [bug] uninitalised pointer host:printmessage(). (RT #159) + 300. [bug] Using both and didn't work on platforms lacking IPv6 because each included their own ipv6 header file for the missing definitions. Now diff --git a/bin/dig/host.c b/bin/dig/host.c index 8cd509a337..30818cad29 100644 --- a/bin/dig/host.c +++ b/bin/dig/host.c @@ -15,7 +15,7 @@ * SOFTWARE. */ -/* $Id: host.c,v 1.32 2000/06/30 14:11:48 mws Exp $ */ +/* $Id: host.c,v 1.33 2000/07/03 05:10:14 marka Exp $ */ #include #include @@ -411,7 +411,7 @@ printmessage(dig_query_t *query, dns_message_t *msg, isc_boolean_t headers) { dns_rdataset_t *opt, *tsig = NULL; dns_name_t *tsigname; isc_result_t result = ISC_R_SUCCESS; - isc_buffer_t *b; + isc_buffer_t *b = NULL; isc_region_t r; UNUSED (headers);