Commit 9021cfa2 authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

ITS#6288

parent ed7572cd
......@@ -4,6 +4,7 @@ OpenLDAP 2.4.19 Engineering
Fixed slapd tools to allow -n for conversion (ITS#6258)
Fixed slapo-dynlist lock leak (ITS#6308)
Fixed slapo-pcache cache corruption (ITS#6242)
Fixed slapo-sssvlv sort control dereferencing (ITS#6288)
Fixed contrib/nssov getgroupbymembers (ITS#6291)
OpenLDAP 2.4.18 Release (2009/09/06)
......
......@@ -696,7 +696,7 @@ static int sssvlv_op_search(
int rc = SLAP_CB_CONTINUE;
int ok;
sort_op *so, so2;
sort_ctrl *sc = op->o_controls[sss_cid];
sort_ctrl *sc;
PagedResultsState *ps;
vlv_ctrl *vc;
......@@ -725,6 +725,7 @@ static int sssvlv_op_search(
op->o_req_dn.bv_val, op->ors_filterstr.bv_val,
op->o_ctrlflag[sss_cid]);
sc = op->o_controls[sss_cid];
if ( sc->sc_nkeys > si->svi_max_keys ) {
rs->sr_text = "Too many sort keys";
rs->sr_err = LDAP_UNWILLING_TO_PERFORM;
......
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