mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-01 20:49:35 -05:00
ITS#6310 dup entry before adding to cache
This commit is contained in:
parent
3a688d8d59
commit
3d189671bd
1 changed files with 2 additions and 1 deletions
|
|
@ -836,6 +836,7 @@ merge_entry(
|
|||
|
||||
slap_callback cb = { NULL, slap_null_cb, NULL, NULL };
|
||||
|
||||
e = entry_dup( e );
|
||||
attr = e->e_attrs;
|
||||
e->e_attrs = NULL;
|
||||
|
||||
|
|
@ -877,7 +878,7 @@ merge_entry(
|
|||
}
|
||||
} else {
|
||||
if ( op->ora_e == e )
|
||||
be_entry_release_w( op, e );
|
||||
entry_free( e );
|
||||
rc = 1;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue