Quick fix for ITS#2072, segfault on (uid=\89\aa\20\8c\92\0a), re20 only

This commit is contained in:
Kurt Zeilenga 2002-09-09 17:16:20 +00:00
parent c461feb24b
commit 6098baf4d9

View File

@ -618,8 +618,10 @@ UTF8StringNormalize(
q = s;
}
#if 0
/* cannot end with a space */
assert( !ldap_utf8_isspace( LDAP_UTF8_PREV(q) ) );
#endif
/* null terminate */
*q = '\0';