From: Pierangelo Masarati Date: Fri, 14 Aug 2009 00:14:35 +0000 (+0000) Subject: make sure filter is applied to final entry (ITS#6255) X-Git-Tag: ACLCHECK_0~335 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b6cf5ca896ce9a81b64d1251216ddbe13e4b50f2;p=openldap make sure filter is applied to final entry (ITS#6255) --- diff --git a/servers/slapd/overlays/translucent.c b/servers/slapd/overlays/translucent.c index 6641de2838..173526c555 100644 --- a/servers/slapd/overlays/translucent.c +++ b/servers/slapd/overlays/translucent.c @@ -870,6 +870,7 @@ static int translucent_search_cb(Operation *op, SlapReply *rs) { for(ax = le->e_attrs; ax; ax = ax->a_next) { for(a = re->e_attrs; a; a = a->a_next) { if(a->a_desc == ax->a_desc) { + test_f = 1; if(a->a_vals != a->a_nvals) ber_bvarray_free(a->a_nvals); ber_bvarray_free(a->a_vals);