diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2012-03-07 16:29:23 -0800 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2012-04-01 18:33:29 +0200 |
commit | 99536be9d46b49e9496cfe6d49d82d3b0fe5e44c (patch) | |
tree | 9aa2379ee4436d179726bd04618f019127ceff4c /libavdevice/v4l.c | |
parent | bbe316dfb425edecd98e3fbef93c17abe6bb5cb8 (diff) | |
download | ffmpeg-99536be9d46b49e9496cfe6d49d82d3b0fe5e44c.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 'libavdevice/v4l.c')
0 files changed, 0 insertions, 0 deletions