From 51d01c80c13c067c83ccad28b0e63b2881b4221c Mon Sep 17 00:00:00 2001 From: Aki Tuomi Date: Tue, 29 Sep 2015 22:11:14 +0300 Subject: [PATCH] Initialize UeberBackend members Fix cid#1030014 --- pdns/ueberbackend.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pdns/ueberbackend.cc b/pdns/ueberbackend.cc index 2126a8132..f7dcb355a 100644 --- a/pdns/ueberbackend.cc +++ b/pdns/ueberbackend.cc @@ -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"); -- 2.40.0