mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
fix uninit'ed vars (ITS#7039)
This commit is contained in:
parent
d97d1e148c
commit
568e3b7faa
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user