From 6bfe37bdf52eb4f4decca3eec4b86d2eadd2be14 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Fri, 18 Jan 2002 04:49:55 +0000 Subject: [PATCH] In UTF8StringValidate, 1-byte chars are already validated --- servers/slapd/schema_init.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/servers/slapd/schema_init.c b/servers/slapd/schema_init.c index a6aa3ceca8..a6e68b5316 100644 --- a/servers/slapd/schema_init.c +++ b/servers/slapd/schema_init.c @@ -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; -- 2.39.5