From 5029387ba6c62d0101d667ddcd42e4cb1de0b461 Mon Sep 17 00:00:00 2001 From: Aki Tuomi Date: Sun, 18 Oct 2015 20:14:21 +0300 Subject: [PATCH] Initialize d_place Fixes CID#1325473 --- pdns/tkey.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/pdns/tkey.cc b/pdns/tkey.cc index 18103f63f..f31d6bc20 100644 --- a/pdns/tkey.cc +++ b/pdns/tkey.cc @@ -77,6 +77,7 @@ void PacketHandler::tkeyHandler(DNSPacket *p, DNSPacket *r) { rec.d_type = QType::TKEY; rec.d_class = QClass::ANY; rec.d_content = tkey_out; + rec.d_place = DNSResourceRecord::ANSWER; DNSResourceRecord rr(rec); rr.qclass = QClass::ANY; -- 2.40.0