mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-14 16:23:23 -05:00
ITS#7210 fix check for freelist changes
Was being fooled before because the newly malloc'd block had the same address as the previously freed block.
This commit is contained in:
parent
191d78948b
commit
a66f9e9292
1 changed files with 1 additions and 1 deletions
|
|
@ -1989,7 +1989,7 @@ again:
|
|||
* due to freed overflow pages...
|
||||
*/
|
||||
mdb_cursor_put(&mc, &key, &data, 0);
|
||||
if (mop == env->me_pghead) {
|
||||
if (mop == env->me_pghead && env->me_pghead->mo_txnid == id) {
|
||||
/* could have been used again here */
|
||||
if (mop->mo_pages[0] != orig) {
|
||||
data.mv_size = MDB_IDL_SIZEOF(mop->mo_pages);
|
||||
|
|
|
|||
Loading…
Reference in a new issue