diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-02-04 20:48:30 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-03-12 18:03:50 +0100 |
commit | a16669f1e226e15c5e970e2ab48b2c54ed7ee77a (patch) | |
tree | 07d109464e36aa6271c58221d78fb2f8b3a9b4f4 /libavcodec/mlpdsp.c | |
parent | 5c0413aa85f75cd9b9beffd984947560a080d914 (diff) | |
download | ffmpeg-a16669f1e226e15c5e970e2ab48b2c54ed7ee77a.tar.gz |
avcodec/mjpegdec: Check number of components for JPEG-LS
Fixes out of array accesses
Fixes: asan_heap-oob_1c1a4ea_1242_cov_2274415971_TESTcmyk.jpg
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit fabbfaa095660982cc0bc63242c459561fa37037)
Conflicts:
libavcodec/mjpegdec.c
Diffstat (limited to 'libavcodec/mlpdsp.c')
0 files changed, 0 insertions, 0 deletions