Permalink
Browse files

Initialize all scalar fields in SOAData

Fixes several CIDs in coverity.

(cherry picked from commit 3420116)
  • Loading branch information...
1 parent 8fabf4d commit 2433d2e879f94edd67f69bcebec7956d7f53a737 @cmouse cmouse committed with rubenk Apr 27, 2015
Showing with 1 addition and 1 deletion.
  1. +1 −1 pdns/dns.hh
View
@@ -40,7 +40,7 @@ class DNSBackend;
struct SOAData
{
- SOAData() : db(0), scopeMask(0) {};
+ SOAData() : ttl(0), serial(0), refresh(0), retry(0), expire(0), domain_id(-1), db(0), scopeMask(0) {};
string qname;
string nameserver;

0 comments on commit 2433d2e

Please sign in to comment.