mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Fix typo in 45146ba21a
This commit is contained in:
parent
30ae5fa2cf
commit
869324ff9f
@ -1826,7 +1826,7 @@ UTF8StringValidate(
|
||||
if( LDAP_UTF8_OFFSET( (char *)u ) != len ) return LDAP_INVALID_SYNTAX;
|
||||
}
|
||||
|
||||
if( u >= len ) {
|
||||
if( u > end ) {
|
||||
return LDAP_INVALID_SYNTAX;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user