From: Aki Tuomi Date: Tue, 29 Sep 2015 18:49:13 +0000 (+0300) Subject: Initialize DNSResourceRecord members X-Git-Tag: dnsdist-1.0.0-alpha1~248^2~12^2~11 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=55a2f1fb01412de41bd58ce9ef7bcc345d7c9568;p=pdns Initialize DNSResourceRecord members fix cid#1030056 --- 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(){};