Commit 3dececd4 authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

ITS#5720

parent 9b9ddbaa
OpenLDAP 2.4 Change Log
OpenLDAP 2.4.12 Engineering
Fixed libldap ldap_utf8_strchar arguments (ITS#5720)
Fixed libldap TLS_CRLFILE (ITS#5677)
Fixed liblutil executables on Windows (ITS#5604)
Fixed liblutil microsecond overflows on Windows (ITS#5668)
......
......@@ -191,10 +191,10 @@ ldap_str2charray( const char *str_in, const char *brkstr )
}
i = 1;
for ( s = str; *s; s++ ) {
if ( ldap_utf8_strchr( brkstr, s ) != NULL ) {
i++;
}
for ( s = str; *s; LDAP_UTF8_INCR(s) ) {
s = ldap_utf8_strchr( s, brkstr );
if ( !s ) break;
i++;
}
res = (char **) LDAP_MALLOC( (i + 1) * sizeof(char *) );
......
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