[FFmpeg-devel] [PATCH 4/4] tools/target_dec_fuzzer: Adjust max_pixels for IDCIN
Michael Niedermayer
michael at niedermayer.cc
Thu Aug 22 01:18:55 EEST 2019
Fixes: Timeout (128sec -> 6sec)
Fixes: 16568/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_IDCIN_fuzzer-5675004095627264
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
---
tools/target_dec_fuzzer.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tools/target_dec_fuzzer.c b/tools/target_dec_fuzzer.c
index d83039417c..fd76553ec8 100644
--- a/tools/target_dec_fuzzer.c
+++ b/tools/target_dec_fuzzer.c
@@ -177,6 +177,8 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
case AV_CODEC_ID_GDV: maxpixels /= 256; break;
// Postprocessing in C
case AV_CODEC_ID_HNM4_VIDEO:maxpixels /= 128; break;
+ // Unoptimized VLC reading and allows a small input to generate gigantic output
+ case AV_CODEC_ID_IDCIN: maxpixels /= 2048; break;
}
--
2.23.0
More information about the ffmpeg-devel
mailing list