Commit 176339e7 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

ITS#2219: empty value return filter control bug

parent 0d9ca77f
......@@ -567,6 +567,11 @@ int parseValuesReturnFilter (
return LDAP_PROTOCOL_ERROR;
}
if ( ctrl->ldctl_value.bv_len == 0 ) {
*text = "valuesreturnfilter control value is empty";
return LDAP_PROTOCOL_ERROR;
}
ber = ber_init( &(ctrl->ldctl_value) );
if (ber == NULL) {
*text = "internal error";
......
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