From: Pierangelo Masarati Date: Fri, 10 Mar 2006 12:14:58 +0000 (+0000) Subject: don't pass uninitialized pointers around X-Git-Tag: OPENLDAP_REL_ENG_2_4_BP~124 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ee9c11dd0840091c271d8b76d0b917a61914efa6;p=openldap don't pass uninitialized pointers around --- diff --git a/clients/tools/common.c b/clients/tools/common.c index 15f0b55b5d..84f73e9144 100644 --- a/clients/tools/common.c +++ b/clients/tools/common.c @@ -997,7 +997,7 @@ void tool_bind( LDAP *ld ) { #ifdef LDAP_CONTROL_PASSWORDPOLICYREQUEST - LDAPControl *sctrls[2]; + LDAPControl *sctrls[2] = { NULL }; if ( ppolicy ) { LDAPControl c; c.ldctl_oid = LDAP_CONTROL_PASSWORDPOLICYREQUEST;