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

modules/ldapbackend/ldapbackend.cc

index 6d00e84bfe86d89d8f90881653ab0acb9100bde4..9032d5e6c4d397cf101e8dd397200a42c81ec819 100644 (file)
@@ -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]";