diff --git a/lib/dns/tkey.c b/lib/dns/tkey.c index 66210d5..34ad90b 100644 --- a/lib/dns/tkey.c +++ b/lib/dns/tkey.c @@ -654,6 +654,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) {