diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-02-04 20:48:30 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-03-12 00:47:05 +0100 |
commit | 75b0cfcf105c8720a47a2ee80a70ba16799d71b7 (patch) | |
tree | a3ab4fc71d6a4d79033b0b97c1dbbfabd6df0515 /libavcodec/pcx.c | |
parent | c68fe8ac8b9d0602e24e1c8c5d575fb21a8b3364 (diff) | |
download | ffmpeg-75b0cfcf105c8720a47a2ee80a70ba16799d71b7.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/pcx.c')
0 files changed, 0 insertions, 0 deletions