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

ITS#6746

parent 961fe42b
......@@ -77,6 +77,7 @@ OpenLDAP 2.4.24 Engineering
Fixed slapo-syncprov to refresh if context is dirty (ITS#6710)
Fixed slapo-syncprov CSN updates to all replicas (ITS#6718)
Fixed slapo-syncprov sessionlog ordering (ITS#6716)
Fixed slapo-translucent entry leak (ITS#6746)
Fixed contrib/autogroup LDAP URI with attribute filter (ITS#6536)
Fixed contrib/nssov to only close socket on shutdown (ITS#6676)
Fixed contrib/nssov multi platform support (ITS#6604)
......
......@@ -1160,11 +1160,11 @@ static int translucent_search(Operation *op, SlapReply *rs) {
av = tavl_end( tc.list, TAVL_DIR_LEFT );
while ( av ) {
rs->sr_entry = av->avl_data;
rc = test_filter( op, rs->sr_entry, op->ors_filter );
if ( rc == LDAP_COMPARE_TRUE ) {
if ( rc == LDAP_SUCCESS && LDAP_COMPARE_TRUE ==
test_filter( op, rs->sr_entry, op->ors_filter ))
{
rs->sr_flags = REP_ENTRY_MUSTBEFREED;
rc = send_search_entry( op, rs );
if ( rc ) break;
} else {
entry_free( rs->sr_entry );
}
......
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