diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-10-03 01:50:27 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-11-28 18:44:38 +0100 |
commit | 9ec550c364835caaa928c361d009b75f25d774a9 (patch) | |
tree | 95022a32609310028fb891435683b95c468fd8e3 /libswscale/yuv2rgb.c | |
parent | 23a22b0da90df0ecf0eda0e9e360526854337eea (diff) | |
download | ffmpeg-9ec550c364835caaa928c361d009b75f25d774a9.tar.gz |
avcodec/mjpegdec: check bits per pixel for changes similar to dimensions
Fixes out of array accesses
Fixes: asan_heap-oob_16668e9_2_asan_heap-oob_16668e9_346_miss_congeniality_pegasus_mjpg.avi
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 5c378d6a6df8243f06c87962b873bd563e58cd39)
Conflicts:
libavcodec/mjpegdec.c
Diffstat (limited to 'libswscale/yuv2rgb.c')
0 files changed, 0 insertions, 0 deletions