Message ID | 20190901211028.4759-3-michael@niedermayer.cc |
---|---|
State | New |
Headers | show |
On Sun, Sep 01, 2019 at 11:10:27PM +0200, Michael Niedermayer wrote: > The decoder is slow > > Fixes: Timeout (94sec -> 7sec) > Fixes: 16417/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MSS2_fuzzer-5711668050395136 > > Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg > Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> > --- > tools/target_dec_fuzzer.c | 1 + > 1 file changed, 1 insertion(+) will apply [...]
diff --git a/tools/target_dec_fuzzer.c b/tools/target_dec_fuzzer.c index 3a19efd031..3d0a9e4fd8 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_MSS2: maxpixels /= 16384; break; case AV_CODEC_ID_TRUEMOTION2: maxpixels /= 1024; break; }
The decoder is slow Fixes: Timeout (94sec -> 7sec) Fixes: 16417/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MSS2_fuzzer-5711668050395136 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> --- tools/target_dec_fuzzer.c | 1 + 1 file changed, 1 insertion(+)