• R
    fix invalid read in aligned_alloc · 2ad9cf52
    Rich Felker 提交于
    in case of mmap-obtained chunks, end points past the end of the
    mapping and reading it may fault. since the value is not needed until
    after the conditional, move the access to prevent invalid reads.
    2ad9cf52
aligned_alloc.c 1.1 KB