mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-23 16:19:35 -05:00
fix reqControls validator (partially addresses ITS#6652)
This commit is contained in:
parent
b672d8535d
commit
cddaeff565
1 changed files with 2 additions and 2 deletions
|
|
@ -1066,7 +1066,7 @@ logSchemaControlValidate(
|
|||
return LDAP_INVALID_SYNTAX;
|
||||
}
|
||||
|
||||
for ( ; i < val.bv_len; i++ ) {
|
||||
for ( i++; i < val.bv_len; i++ ) {
|
||||
if ( val.bv_val[ i ] == '"' ) {
|
||||
break;
|
||||
}
|
||||
|
|
@ -1080,7 +1080,7 @@ logSchemaControlValidate(
|
|||
return LDAP_INVALID_SYNTAX;
|
||||
}
|
||||
|
||||
for ( ; i < val.bv_len; i++ ) {
|
||||
for ( i++; i < val.bv_len; i++ ) {
|
||||
if ( !ASCII_SPACE( val.bv_val[ i ] ) ) {
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue