• David Woodhouse's avatar
    Fix use-after-free bug in MTD partitioning code. · 1a214ee6
    David Woodhouse authored
    Define callback wrapper function mtd_erase_callback() to handle 
    partition offsets during the callback, rather than attempting to 
    fix them up in the freed erase_info structure after the callback 
    has already happened.
    1a214ee6
amd_flash.c 33.9 KB