diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-02-11 03:33:53 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-02-17 19:43:19 +0100 |
commit | 0ee5f46fd1d1d25c0a98d8da8dd338a90db4a603 (patch) | |
tree | 923ad1d7ec82879c2e522c83395d976950f4379a /tests/videogen.c | |
parent | b1b69baa0110ab28dcd7f5646d4a8eddc3038ce9 (diff) | |
download | ffmpeg-0ee5f46fd1d1d25c0a98d8da8dd338a90db4a603.tar.gz |
avcodec/mjpegdec: Skip blocks which are outside the visible area
Fixes out of array accesses
Fixes: ffmpeg_mjpeg_crash.avi
Found-by: Thomas Lindroth <thomas.lindroth@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 08509c8f86626815a3e9e68d600d1aacbb8df4bf)
Conflicts:
libavcodec/mjpegdec.c
Diffstat (limited to 'tests/videogen.c')
0 files changed, 0 insertions, 0 deletions