From: Aki Tuomi Date: Tue, 29 Sep 2015 19:14:35 +0000 (+0300) Subject: Initialize LDAPBackend members X-Git-Tag: dnsdist-1.0.0-alpha1~248^2~12^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57e9832edcb7f2f1b99131d8b33d1fcec8bfcdf3;p=thirdparty%2Fpdns.git Initialize LDAPBackend members fix cid#1029955 --- diff --git a/modules/ldapbackend/ldapbackend.cc b/modules/ldapbackend/ldapbackend.cc index 6d00e84bfe..9032d5e6c4 100644 --- a/modules/ldapbackend/ldapbackend.cc +++ b/modules/ldapbackend/ldapbackend.cc @@ -17,6 +17,9 @@ LdapBackend::LdapBackend( const string &suffix ) m_msgid = 0; m_qname.clear(); m_pldap = NULL; + m_ttl = 0; + m_axfrqlen = 0; + m_last_modified = 0; m_qlog = arg().mustDo( "query-logging" ); m_default_ttl = arg().asNum( "default-ttl" ); m_myname = "[LdapBackend]";