aboutsummaryrefslogtreecommitdiffstats
path: root/tests/api/api-codec-param-test.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2019-07-26 14:16:16 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2019-08-04 21:16:28 +0200
commit598496e50cfd6f6484fc1caf8ab503c47e76a767 (patch)
tree703fa7a732a631a133ab7fa2297c7438499d27f8 /tests/api/api-codec-param-test.c
parent907027a4f26d6df9a773afd6d92dd88c51822906 (diff)
downloadffmpeg-598496e50cfd6f6484fc1caf8ab503c47e76a767.tar.gz
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 <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 38b6c48c4300343f4703019a90a332773e64e11b) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'tests/api/api-codec-param-test.c')
0 files changed, 0 insertions, 0 deletions