Michael Niedermayer a6ba4c1116 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 fabbfaa095)

Conflicts:

	libavcodec/mjpegdec.c
2015-02-04 21:27:25 +01:00
2014-12-30 16:16:23 +01:00
2014-11-28 18:53:10 +01:00
2013-10-28 00:39:34 +01:00
2013-10-27 09:18:45 +01:00
2014-12-30 16:16:23 +01:00
2014-12-30 16:16:23 +01:00

FFmpeg README
-------------

1) Documentation
----------------

* Read the documentation in the doc/ directory in git.
  You can also view it online at http://ffmpeg.org/documentation.html

2) Licensing
------------

* See the LICENSE file.

3) Build and Install
--------------------

* See the INSTALL file.
Description
No description provided
Readme 304 MiB
Languages
C 89.8%
Assembly 8.1%
Makefile 1.3%
C++ 0.3%
Objective-C 0.2%
Other 0.1%