From: Pierangelo Masarati Date: Thu, 8 Sep 2011 21:31:21 +0000 (+0200) Subject: fix uninit'ed vars (ITS#7039) X-Git-Tag: OPENLDAP_REL_ENG_2_4_27~251 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e1d747c31ac443eecc09fdf3494f718869e04958;p=openldap fix uninit'ed vars (ITS#7039) --- diff --git a/clients/tools/ldapmodify.c b/clients/tools/ldapmodify.c index 2d11045114..54dd379120 100644 --- a/clients/tools/ldapmodify.c +++ b/clients/tools/ldapmodify.c @@ -903,8 +903,8 @@ parse_ldif_control( char *s, *oidStart; LDAPControl *newctrl = NULL; LDAPControl **pctrls = NULL; - struct berval type, bv; - int freeval; + struct berval type, bv = BER_BVNULL; + int freeval = 0; if (ppctrls) pctrls = *ppctrls; /* OID should come first. Validate and extract it. */