Skip to content
Snippets Groups Projects
Commit e1d747c3 authored by Pierangelo Masarati's avatar Pierangelo Masarati Committed by Quanah Gibson-Mount
Browse files

fix uninit'ed vars (ITS#7039)

parent 7cb07270
No related branches found
No related tags found
No related merge requests found
...@@ -903,8 +903,8 @@ parse_ldif_control( ...@@ -903,8 +903,8 @@ parse_ldif_control(
char *s, *oidStart; char *s, *oidStart;
LDAPControl *newctrl = NULL; LDAPControl *newctrl = NULL;
LDAPControl **pctrls = NULL; LDAPControl **pctrls = NULL;
struct berval type, bv; struct berval type, bv = BER_BVNULL;
int freeval; int freeval = 0;
if (ppctrls) pctrls = *ppctrls; if (ppctrls) pctrls = *ppctrls;
/* OID should come first. Validate and extract it. */ /* OID should come first. Validate and extract it. */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment