From: jsg Date: Thu, 18 Aug 2016 06:36:02 +0000 (+0000) Subject: init a variable to address https://kb.isc.org/article/AA-01272 X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=07e16c62b177fded485e791109d631fa6ff8b9da;p=openbsd init a variable to address https://kb.isc.org/article/AA-01272 Most of bind got removed and this function is not called by any of the remaining parts. ok deraadt@ a long time ago. --- diff --git a/usr.sbin/bind/lib/dns/tkey.c b/usr.sbin/bind/lib/dns/tkey.c index 5eebcc3b30d..ba17340747a 100644 --- a/usr.sbin/bind/lib/dns/tkey.c +++ b/usr.sbin/bind/lib/dns/tkey.c @@ -562,6 +562,7 @@ dns_tkey_processquery(dns_message_t *msg, dns_tkeyctx_t *tctx, * Try the answer section, since that's where Win2000 * puts it. */ + name = NULL; if (dns_message_findname(msg, DNS_SECTION_ANSWER, qname, dns_rdatatype_tkey, 0, &name, &tkeyset) != ISC_R_SUCCESS)