From 55a2f1fb01412de41bd58ce9ef7bcc345d7c9568 Mon Sep 17 00:00:00 2001 From: Aki Tuomi Date: Tue, 29 Sep 2015 21:49:13 +0300 Subject: [PATCH] Initialize DNSResourceRecord members fix cid#1030056 --- pdns/dns.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/dns.hh b/pdns/dns.hh index e0e4cdabf..66c7101d3 100644 --- a/pdns/dns.hh +++ b/pdns/dns.hh @@ -73,7 +73,7 @@ public: class DNSResourceRecord { public: - DNSResourceRecord() : last_modified(0), signttl(0), qclass(1), d_place(ANSWER), scopeMask(0), auth(1), disabled(0) {}; + DNSResourceRecord() : last_modified(0), ttl(0), signttl(0), domain_id(-1), qclass(1), d_place(ANSWER), scopeMask(0), auth(1), disabled(0) {}; explicit DNSResourceRecord(const struct DNSRecord&); ~DNSResourceRecord(){}; -- 2.40.0