[FFmpeg-devel] [PATCH 1/2] tools/target_dec_fuzzer: increase snows threshold
Michael Niedermayer
michael at niedermayer.cc
Thu Aug 29 22:46:31 EEST 2019
snow allows creating large output from tiny input, like other
wavelet codecs
Fixes: Timeout (82sec -> 1.5sec)
Fixes: 9520/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SNOW_fuzzer-6286612576075776
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 | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/target_dec_fuzzer.c b/tools/target_dec_fuzzer.c
index e22a0c5c34..6d7a4e925a 100644
--- a/tools/target_dec_fuzzer.c
+++ b/tools/target_dec_fuzzer.c
@@ -139,6 +139,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
case AV_CODEC_ID_HNM4_VIDEO:maxpixels /= 128; break;
// Cliping in C, generally slow even with small input
case AV_CODEC_ID_INDEO4: maxpixels /= 128; break;
+ case AV_CODEC_ID_SNOW: maxpixels /= 128; break;
}
--
2.23.0
More information about the ffmpeg-devel
mailing list