]> granicus.if.org Git - pdns/commitdiff
Initialize all CacheEntry members
authorAki Tuomi <cmouse@cmouse.fi>
Sun, 18 Oct 2015 20:41:40 +0000 (23:41 +0300)
committerAki Tuomi <cmouse@desteem.org>
Mon, 26 Oct 2015 10:28:04 +0000 (12:28 +0200)
Fixes CID#1030025

pdns/packetcache.hh

index 964c8c7e37e776ccfcd2130165e031738984ff16..7f98c75f86a21f5da64bc8dab3b127e5cf26e6a5 100644 (file)
@@ -75,7 +75,7 @@ private:
   string pcReverse(DNSName content);
   struct CacheEntry
   {
-    CacheEntry() { qtype = ctype = 0; zoneID = -1; meritsRecursion=false; dnssecOk=false; hasEDNS=false;}
+    CacheEntry() { qtype = ctype = 0; zoneID = -1; meritsRecursion=false; dnssecOk=false; hasEDNS=false; created=0; ttd=0; maxReplyLen=512;}
 
     string qname;
     string value;