aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/parseutils.h
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2012-03-07 16:29:23 -0800
committerReinhard Tartler <siretart@tauware.de>2012-03-13 23:36:39 +0100
commit9980e4df3bfcf49da2d3b22ed808b3dca0e7bbf2 (patch)
tree933c4839ea5839415b89b2b4b3369ae1d0684689 /libavutil/parseutils.h
parentd4f2786cda271ed408e59f68e4a656f610a39808 (diff)
downloadffmpeg-9980e4df3bfcf49da2d3b22ed808b3dca0e7bbf2.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 (cherry picked from commit 4ffe5e2aa5241f8da9afd2c8fbc854dcc916c5f9) Signed-off-by: Reinhard Tartler <siretart@tauware.de>
Diffstat (limited to 'libavutil/parseutils.h')
0 files changed, 0 insertions, 0 deletions