aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/decoding_encoding.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-10-03 01:50:27 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-12-21 04:40:03 +0100
commit29abba35723ad6ce481dfe277dad6d0575f2dbb6 (patch)
treea1a5e070fd1d8e6814db1781e09fb95894ca1821 /doc/examples/decoding_encoding.c
parentd44d87e172648ece39bb7328edf80577c66914db (diff)
downloadffmpeg-29abba35723ad6ce481dfe277dad6d0575f2dbb6.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 'doc/examples/decoding_encoding.c')
0 files changed, 0 insertions, 0 deletions