From: Howard Chu Date: Wed, 14 Jan 2015 19:05:17 +0000 (+0000) Subject: Fix typo in 45146ba21a9ee494e7058ca7a173fcc6b27df744 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6ad38fef3fe63ff86c1e6cff3c6330353b21cc24;p=openldap Fix typo in 45146ba21a9ee494e7058ca7a173fcc6b27df744 --- diff --git a/servers/slapd/schema_init.c b/servers/slapd/schema_init.c index 46d1c6d718..08e733fed4 100644 --- a/servers/slapd/schema_init.c +++ b/servers/slapd/schema_init.c @@ -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; }