mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-04 14:10:39 -05:00
In UTF8StringValidate, 1-byte chars are already validated
This commit is contained in:
parent
89abf8bbb0
commit
6bfe37bdf5
1 changed files with 1 additions and 3 deletions
|
|
@ -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 a new issue