From: Pierangelo Masarati Date: Sun, 2 Jan 2011 15:50:00 +0000 (+0000) Subject: fix reqControls validator (partially addresses ITS#6652) X-Git-Tag: MIGRATION_CVS2GIT~286 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=cddaeff56527a4caa45d82f26cfd0cc72d49e7c3;p=openldap fix reqControls validator (partially addresses ITS#6652) --- diff --git a/servers/slapd/overlays/accesslog.c b/servers/slapd/overlays/accesslog.c index 542ad193f0..af35ac1332 100644 --- a/servers/slapd/overlays/accesslog.c +++ b/servers/slapd/overlays/accesslog.c @@ -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; }