From ee9c11dd0840091c271d8b76d0b917a61914efa6 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Fri, 10 Mar 2006 12:14:58 +0000 Subject: [PATCH] don't pass uninitialized pointers around --- clients/tools/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5