mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 14:02:32 +01:00
6df0fc42ed
buf_buddy_relocate(): Document that src may have been split and some of it may be in buf_pool->zip_free[j] for some j<i, thus mach_read_from_4() may be reading from free memory. Check buffer pages only for addressability, not for being completely initialized. Ensure that block descriptors are completely initialized. buf_buddy_remove_from_free(): Check prev->state and next->state in UNIV_DEBUG && UNIV_DEBUG_VALGRIND builds. buf_buddy_free_low(): Flag the entire block valid prior to invoking buf_buddy_remove_from_free() in order to avoid a Valgrind warning about the debug assertion on bpage->state. Remove the Valgrind check for buddy being completely allocated. If it has been split to smaller blocks, some of those blocks may be free. |
||
---|---|---|
.. | ||
buf0buddy.c | ||
buf0buf.c | ||
buf0flu.c | ||
buf0lru.c | ||
buf0rea.c | ||
Makefile.am |