Skip to content

Commit

Permalink
Initialize all scalar fields in SOAData
Browse files Browse the repository at this point in the history
Fixes several CIDs in coverity.

(cherry picked from commit 3420116)
  • Loading branch information
cmouse authored and rubenk committed May 9, 2015
1 parent 8fabf4d commit 2433d2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pdns/dns.hh
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2433d2e

Please sign in to comment.