diff --git a/servers/slapd/back-bdb/filterindex.c b/servers/slapd/back-bdb/filterindex.c index 149e5fdbbf..32ec02b357 100644 --- a/servers/slapd/back-bdb/filterindex.c +++ b/servers/slapd/back-bdb/filterindex.c @@ -242,6 +242,7 @@ list_candidates( f->f_result == LDAP_SUCCESS ) { continue; } + BDB_IDL_ZERO( save ); rc = bdb_filter_candidates( op, f, save, tmp, save+BDB_IDL_UM_SIZE );