mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 08:39:37 -05:00
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 | ||