From 869324ff9f05fa5e1ba3c44cfdab98ab1721cc99 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 14 Jan 2015 19:05:17 +0000 Subject: [PATCH] Fix typo in 45146ba21a9ee494e7058ca7a173fcc6b27df744 --- servers/slapd/schema_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }