mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-04-05 20:31:00 +08:00
Fix crash
This commit is contained in:
parent
63e8cb54ac
commit
4682ec0f8a
@ -124,6 +124,7 @@ int mdb_find_pg_row(MdbHandle *mdb, int pg_row, void **buf, int *off, size_t *le
|
||||
mdb_swap_pgbuf(mdb);
|
||||
result = mdb_find_row(mdb, row, off, len);
|
||||
mdb_swap_pgbuf(mdb);
|
||||
*off &= OFFSET_MASK;
|
||||
*buf = mdb->alt_pg_buf;
|
||||
return result;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user