• Ronald S. Bultje's avatar
    huffyuv: add padding to classic (v1) huffman tables. · 4ffe5e2a
    Ronald S. Bultje authored
    We slightly overread the input buffer, so we require
    padding at the end of the buffer, as is documented in the
    get_bits API. Without padding, we'll read uninitialized
    data or beyond the end of the .rodata, which may crash.
    
    Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
    CC: libav-stable@libav.org
    4ffe5e2a
huffyuv.c 49.4 KB