From b6cf5ca896ce9a81b64d1251216ddbe13e4b50f2 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Fri, 14 Aug 2009 00:14:35 +0000 Subject: [PATCH] make sure filter is applied to final entry (ITS#6255) --- servers/slapd/overlays/translucent.c | 1 + 1 file changed, 1 insertion(+) 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); -- 2.39.5