[FFmpeg-cvslog] tools/target_dec_fuzzer: Adjust threshold for smacker

Michael Niedermayer git at videolan.org
Sat Nov 9 18:10:18 EET 2019


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Thu Oct 10 18:51:19 2019 +0200| [de1d3b0925b7187fa3c43f24d317370220b932d2] | committer: Michael Niedermayer

tools/target_dec_fuzzer: Adjust threshold for smacker

Fixes: Timeout (65sec -> 0.5sec)
Fixes: 18072/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SMACKER_fuzzer-5722709366931456

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=de1d3b0925b7187fa3c43f24d317370220b932d2
---

 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 c71cd77b35..1302a4458a 100644
--- a/tools/target_dec_fuzzer.c
+++ b/tools/target_dec_fuzzer.c
@@ -158,6 +158,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
     case AV_CODEC_ID_MSS2:        maxpixels /= 16384; break;
     case AV_CODEC_ID_MSZH:        maxpixels /= 128; break;
     case AV_CODEC_ID_SCPR:        maxpixels /= 32;    break;
+    case AV_CODEC_ID_SMACKVIDEO:  maxpixels /= 64; break;
     case AV_CODEC_ID_SNOW:        maxpixels /= 128; break;
     case AV_CODEC_ID_TGV:         maxpixels /= 32;    break;
     case AV_CODEC_ID_TRUEMOTION2: maxpixels /= 1024; break;



More information about the ffmpeg-cvslog mailing list