From: Aki Tuomi Date: Tue, 29 Sep 2015 19:11:14 +0000 (+0300) Subject: Initialize UeberBackend members X-Git-Tag: dnsdist-1.0.0-alpha1~248^2~12^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51d01c80c13c067c83ccad28b0e63b2881b4221c;p=thirdparty%2Fpdns.git Initialize UeberBackend members Fix cid#1030014 --- diff --git a/pdns/ueberbackend.cc b/pdns/ueberbackend.cc index 2126a81320..f7dcb355a8 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");