Commit 6bfe37bd authored by Howard Chu's avatar Howard Chu
Browse files

In UTF8StringValidate, 1-byte chars are already validated

parent 89abf8bb
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment