aboutsummaryrefslogtreecommitdiffstats
path: root/tests/tiny_psnr.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2012-03-07 16:29:23 -0800
committerRonald S. Bultje <rsbultje@gmail.com>2012-03-08 11:20:49 -0800
commit4ffe5e2aa5241f8da9afd2c8fbc854dcc916c5f9 (patch)
treebceeaa0f7ae27f6904e866b0f64395c3fe79569d /tests/tiny_psnr.c
parent4c25269cedd042abcb823c42d33609564861c374 (diff)
downloadffmpeg-4ffe5e2aa5241f8da9afd2c8fbc854dcc916c5f9.tar.gz
huffyuv: add padding to classic (v1) huffman tables.
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
Diffstat (limited to 'tests/tiny_psnr.c')
0 files changed, 0 insertions, 0 deletions