You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If an exception was throw by txn.commit() (ie MDB_MAP_FULL), and this transaction was later aborted (because it went out of scope while unwinding the stack), then a double-free would occur.
You can use the following test to observe this (address sanitizer should be enabled, as it is by default in our Makefile):
@Core-Process noticed and fixed this issue in our C++17 fork of lmdbxx:
You can use the following test to observe this (address sanitizer should be enabled, as it is by default in our Makefile):
https://github.com/hoytech/lmdbxx/blob/5223582ebf92a9b14608ce6768535aef0c65910f/check.cc#L329
The text was updated successfully, but these errors were encountered: