diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2019-09-12 21:02:17 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2019-09-13 21:53:27 +0200 |
commit | 2006e5ccb6db3d4fd97096d8a1d0ba18f708f5fe (patch) | |
tree | 9360c92ad6e9e33f8b437597ba88a068bd5d04bc /libpostproc | |
parent | de125a09424aa46284506e15b58c9089bce0bedf (diff) | |
download | ffmpeg-2006e5ccb6db3d4fd97096d8a1d0ba18f708f5fe.tar.gz |
avcodec/mjpegdec: Only allow 0x11110000 pix_fmt_id for bayer mode
Fixes: NULL pointer dereference
Fixes: assertion failure
Fixes: 17003/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MJPEG_fuzzer-5696929253556224
Fixes: 17039/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MJPEG_fuzzer-5651008134316032
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libpostproc')
0 files changed, 0 insertions, 0 deletions