• marko's avatar
    branches/zip: Improve Valgrind instrumentation. · 902893c7
    marko authored
    buf_LRU_free_block(): Check that the block descriptor contains valid data.
    
    buf_buddy_relocate(): Check that the source block contains valid data.
    
    buf_page_get_gen(): Do not dereference bpage after calling buf_relocate().
    This avoids a bogus Valgrind warning; the memory itself was valid.
    
    buf_page_hash_get(): Check that the returned block descriptor contains
    valid data.
    902893c7
buf0buddy.c 20.9 KB