Commit 16f2a29c authored by Mark Valence's avatar Mark Valence
Browse files

Fix negated tests in IA5StringNormalize and numericStringNormalize.

parent 11ccf961
......@@ -534,7 +534,7 @@ IA5StringNormalize(
p++;
}
if( *p != '\0' ) {
if( *p == '\0' ) {
ch_free( newval );
return LDAP_INVALID_SYNTAX;
}
......@@ -1112,7 +1112,7 @@ numericStringNormalize(
p++;
}
if( *p != '\0' ) {
if( *p == '\0' ) {
ch_free( newval );
return LDAP_INVALID_SYNTAX;
}
......
Supports Markdown
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