diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2019-07-28 22:29:57 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2019-07-29 22:58:43 +0200 |
commit | 5ffb8e879389fb0642654e3233cfeca1f9841e52 (patch) | |
tree | 290bdd27ce19843a35a1c89eabc5ac63e137cdbe /libavcodec/cbs_jpeg.c | |
parent | 009ec8dc3345353b1cd2316423918533fcb89552 (diff) | |
download | ffmpeg-5ffb8e879389fb0642654e3233cfeca1f9841e52.tar.gz |
avcodec/eatqi: Check for minimum frame size
The minimum header is 8 bytes, the smallest bitstream that is passed to
the MB decode code is 4 bytes
Fixes: Timeout (35sec -> 18sec)
Fixes: 15800/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_EATQI_fuzzer-5684154517159936
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 'libavcodec/cbs_jpeg.c')
0 files changed, 0 insertions, 0 deletions