From 568e3b7faa3406d944e8debb3ed188d06aefdb2a Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Thu, 8 Sep 2011 23:31:21 +0200 Subject: [PATCH] fix uninit'ed vars (ITS#7039) --- libraries/libldap/ldifutil.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/libldap/ldifutil.c b/libraries/libldap/ldifutil.c index 96b13c1131..5bef3eb336 100644 --- a/libraries/libldap/ldifutil.c +++ b/libraries/libldap/ldifutil.c @@ -582,8 +582,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. */ -- 2.39.5