This commit is contained in:
Howard Chu 2007-01-10 20:30:29 +00:00
parent fd09de97ea
commit 29bda3922a

View File

@ -942,6 +942,7 @@ parse_ldif_control(
if (ppctrls) pctrls = *ppctrls; if (ppctrls) pctrls = *ppctrls;
/* OID should come first. Validate and extract it. */ /* OID should come first. Validate and extract it. */
s = bval->bv_val;
if (*s == 0) return ( LDAP_PARAM_ERROR ); if (*s == 0) return ( LDAP_PARAM_ERROR );
oidStart = s; oidStart = s;
while (isdigit((unsigned char)*s) || *s == '.') { while (isdigit((unsigned char)*s) || *s == '.') {