diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2018-09-18 00:28:37 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2018-10-03 12:31:19 +0200 |
commit | 79c018351e6e0a3e3f58b4b7831a6642c3a4f42c (patch) | |
tree | 6027a707353ff54622853ee95059a32c1e61619c /libavcodec/jpeg2000dwt.c | |
parent | edae5259c05506a0923f709ce080144c4846ca28 (diff) | |
download | ffmpeg-79c018351e6e0a3e3f58b4b7831a6642c3a4f42c.tar.gz |
avcodec/zmbv: Check that the decompressed data size is correct
This checks the value exactly for intra frames and checks it against a
minimum for inter frames as they can be variable.
Fixes: Timeout
Fixes: 10182/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_ZMBV_fuzzer-6245951174344704
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>
(cherry picked from commit e33b28cc79d164fff22bfee750c9283587c00bc4)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/jpeg2000dwt.c')
0 files changed, 0 insertions, 0 deletions