mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-25 00:59:45 -05:00
ITS#6403: reset 'entry' output argument to overlay_entry_get_ov()
This commit is contained in:
parent
299d802d45
commit
492b2cda2b
1 changed files with 2 additions and 1 deletions
|
|
@ -585,7 +585,7 @@ static int translucent_compare(Operation *op, SlapReply *rs) {
|
|||
slap_overinst *on = (slap_overinst *) op->o_bd->bd_info;
|
||||
translucent_info *ov = on->on_bi.bi_private;
|
||||
AttributeAssertion *ava = op->orc_ava;
|
||||
Entry *e;
|
||||
Entry *e = NULL;
|
||||
BackendDB *db;
|
||||
int rc;
|
||||
|
||||
|
|
@ -852,6 +852,7 @@ static int translucent_search_cb(Operation *op, SlapReply *rs) {
|
|||
} else {
|
||||
/* Else we have remote, get local */
|
||||
op->o_bd = tc->db;
|
||||
le = NULL;
|
||||
rc = overlay_entry_get_ov(op, &rs->sr_entry->e_nname, NULL, NULL, 0, &le, on);
|
||||
if ( rc == LDAP_SUCCESS && le ) {
|
||||
re = entry_dup( rs->sr_entry );
|
||||
|
|
|
|||
Loading…
Reference in a new issue