diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-02-04 20:48:30 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-06-10 02:13:08 +0200 |
commit | fe618beccf10566e834d6a81e6e432263331553b (patch) | |
tree | 670b310c9eb687249b202d0fcd556a91db080cd4 /libavcodec/mpegvideo.c | |
parent | c6ef9ca9710a96bf42697bd446d3eb0a10da7184 (diff) | |
download | ffmpeg-fe618beccf10566e834d6a81e6e432263331553b.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/mpegvideo.c')
0 files changed, 0 insertions, 0 deletions