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

ITS#5300

parent 3b6a181e
......@@ -2,6 +2,7 @@ OpenLDAP 2.4 Change Log
OpenLDAP 2.4.8 Engineering
Fixed ldapmodify verbose logging (ITS#5247)
Fixed libldap filter abort (ITS#5300)
Fixed libldap ldap_parse_sasl_bind_result (ITS#5263)
Fixed libldap search timeout crash (ITS#5291)
Fixed ldapdelete with sizelimit (ITS#5294)
......
......@@ -751,10 +751,12 @@ put_substring_filter( BerElement *ber, char *type, char *val )
}
}
if ( *val != '\0' || ftype == LDAP_SUBSTRING_ANY ) {
if ( *val == '\0' ) {
return -1;
} else {
ber_slen_t len = ldap_pvt_filter_value_unescape( val );
if ( len < 0 ) {
if ( len <= 0 ) {
return -1;
}
......
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