• Erik de Castro Lopo's avatar
    libFLAC/stream_decoder: Fix double free · 684fb3d5
    Erik de Castro Lopo authored
    The american-fuzzy-lop fuzzer found a couple of instances of double
    free() resulting from commit 15a90626.
    
    The problematic free() were the ones associated with use of the
    safe_realloc_mul_2op_() function which can call realloc(ptr,0) which
    according to the realloc manpage is already an implicit free().
    684fb3d5
stream_decoder.c 131 KB