diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-10-03 01:50:27 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-10-03 02:26:25 +0200 |
commit | 49d69844f500e20708a86ae840e809538ba6c6ce (patch) | |
tree | d42f93d86423c1f2d4fd97ea76bd704b95bdd322 /libavcodec/dxva2.h | |
parent | 3f9a148022ef0473e96d75add7f04a3e020ebbaa (diff) | |
download | ffmpeg-49d69844f500e20708a86ae840e809538ba6c6ce.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
(cherry picked from commit 94371a404c663c3dae3d542fa43951567ab67f82)
Conflicts:
libavcodec/mjpegdec.c
Diffstat (limited to 'libavcodec/dxva2.h')
0 files changed, 0 insertions, 0 deletions