mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-04-12 15:10:31 +08:00
Quick fix for ITS#2072, segfault on (uid=\89\aa\20\8c\92\0a), re20 only
This commit is contained in:
parent
c461feb24b
commit
6098baf4d9
@ -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';
|
||||
|
Loading…
x
Reference in New Issue
Block a user