diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2015-11-04 18:08:52 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-12-06 12:40:49 +0100 |
commit | 2f89546333b53e626d710cde357f0d13ea450474 (patch) | |
tree | 93eaf4e6cfcd4a926828d45b327729e7ed579198 /libavcodec/mpegvideo.h | |
parent | 1bb7529ac2eda7d3b7ffffeb20ec477d4440b944 (diff) | |
download | ffmpeg-2f89546333b53e626d710cde357f0d13ea450474.tar.gz |
avcodec/mjpegdec: Check index in ljpeg_decode_yuv_scan() before using it
Fixes: 04715144ba237443010554be0d05343f/asan_heap-oob_1eafc76_1737_c685b48041a563461839e4e7ab97abb8.jpg
Fixes out of array access
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit d24888ef19ba38b787b11d1ee091a3d94920c76a)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/mpegvideo.h')
0 files changed, 0 insertions, 0 deletions