mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-25 17:19:43 -05:00
fix uninit'ed vars (ITS#7039)
This commit is contained in:
parent
d97d1e148c
commit
568e3b7faa
1 changed files with 2 additions and 2 deletions
|
|
@ -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 a new issue