]> granicus.if.org Git - pdns/commitdiff
Initialize UeberBackend members
authorAki Tuomi <cmouse@desteem.org>
Tue, 29 Sep 2015 19:11:14 +0000 (22:11 +0300)
committerAki Tuomi <cmouse@desteem.org>
Sat, 3 Oct 2015 22:01:12 +0000 (01:01 +0300)
Fix cid#1030014

pdns/ueberbackend.cc

index 2126a81320797894d9dd523734a97740e4482cff..f7dcb355a8e330148bd78d21a64c6a75af53ff83 100644 (file)
@@ -405,6 +405,10 @@ UeberBackend::UeberBackend(const string &pname)
   instances.push_back(this); // report to the static list of ourself
   pthread_mutex_unlock(&instances_lock);
 
+  d_negcached=0;
+  d_ancount=0;
+  domain_id=-1;
+  d_cached=0;
   d_cache_ttl = ::arg().asNum("query-cache-ttl");
   d_negcache_ttl = ::arg().asNum("negquery-cache-ttl");