diff options
author | Michael Niedermayer <[email protected]> | 2019-07-26 14:16:16 +0200 |
---|---|---|
committer | Michael Niedermayer <[email protected]> | 2019-07-27 01:43:00 +0200 |
commit | 38b6c48c4300343f4703019a90a332773e64e11b (patch) | |
tree | 2b748536f0dccd4adddcdce90532ab3b8b59b461 /tools/python | |
parent | 1b9064e3f4ca4cf744f5112c02b31ffd1b44f4c4 (diff) |
avcodec/brenderpix: Check input size before allocating image
An incomplete image is not supported prior to this and will
not produce any output. This commit moves the failure before
time consuming operations.
Fixes: Timeout (81sec -> 76ms)
Fixes: 15723/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_BRENDER_PIX_fuzzer-5147265653538816
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Paul B Mahol <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
Diffstat (limited to 'tools/python')
0 files changed, 0 insertions, 0 deletions