mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-28 18:49:34 -05:00
don't pass uninitialized pointers around
This commit is contained in:
parent
486721d531
commit
ee9c11dd08
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue