]> git.sur5r.net Git - openldap/commitdiff
In UTF8StringValidate, 1-byte chars are already validated
authorHoward Chu <hyc@openldap.org>
Fri, 18 Jan 2002 04:49:55 +0000 (04:49 +0000)
committerHoward Chu <hyc@openldap.org>
Fri, 18 Jan 2002 04:49:55 +0000 (04:49 +0000)
servers/slapd/schema_init.c

index a6aa3ceca81cd0d01ce6b4786894c916f325e49a..a6e68b5316721997755004752f622fd9712cbcb8 100644 (file)
@@ -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;