diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2015-11-04 18:08:52 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-11-19 03:51:38 +0100 |
commit | 4fec2df719b31d37f4af0b230d0876c4eee7e5df (patch) | |
tree | dc39d808777949295943b429e8943efe1e02297a /libavcodec/png_parser.c | |
parent | e0569172d6448aaacfd7bc952fcdc17b977814e1 (diff) | |
download | ffmpeg-4fec2df719b31d37f4af0b230d0876c4eee7e5df.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/png_parser.c')
0 files changed, 0 insertions, 0 deletions