diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-02-11 03:33:53 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-02-12 17:10:36 +0100 |
commit | 345962121d76aaf2faf841a50577221457fb8ee0 (patch) | |
tree | ff669765feb524239da41bfad72d8b1bc04bcba2 /libavcodec/ljpegenc.c | |
parent | 0cbf53bdf51623f42938ffaddb5c3fd06295995e (diff) | |
download | ffmpeg-345962121d76aaf2faf841a50577221457fb8ee0.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)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/ljpegenc.c')
0 files changed, 0 insertions, 0 deletions