mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-12 10:54:48 +08:00
d3b9939e71
Delay (MDB_txninfo*) cast to after comparing mmap() with MAP_FAILED. Otherwise, if MAP_FAILED = (void*)-1 but MDB_txninfo requires stricter alignment, the compiler could assume the result is never MAP_FAILED. Also store NULL in env->(me_map, me_txns) after mmap failure. |
||
---|---|---|
.. | ||
libmdb |