mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
In UTF8StringValidate, 1-byte chars are already validated
This commit is contained in:
parent
89abf8bbb0
commit
6bfe37bdf5
@ -500,9 +500,7 @@ UTF8StringValidate(
|
||||
return LDAP_INVALID_SYNTAX;
|
||||
}
|
||||
case 1:
|
||||
if( u[0] >= 0xFE ) {
|
||||
return LDAP_INVALID_SYNTAX;
|
||||
}
|
||||
/* CHARLEN already validated it */
|
||||
break;
|
||||
default:
|
||||
return LDAP_INVALID_SYNTAX;
|
||||
|
Loading…
Reference in New Issue
Block a user