[FFmpeg-devel,4/5] tools/target_dec_fuzzer: Adjust threshold for DXV

Submitted by Michael Niedermayer on Sept. 28, 2019, 11:53 p.m.

Details

Message ID 20190928235345.26528-4-michael@niedermayer.cc
State Accepted
Commit fe63ace98ecaff1fffe9a9841f2581d8939a68b2
Headers show

Commit Message

Michael Niedermayer Sept. 28, 2019, 11:53 p.m.
Fixes: TImeout (20sec -> 4sec)
Fixes: 17735/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DXV_fuzzer-5723368317255680

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(+)

Comments

Michael Niedermayer Oct. 20, 2019, 5:07 p.m.
On Sun, Sep 29, 2019 at 01:53:44AM +0200, Michael Niedermayer wrote:
> Fixes: TImeout (20sec -> 4sec)
> Fixes: 17735/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DXV_fuzzer-5723368317255680
> 
> 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

[...]

Patch hide | download patch | download mbox

diff --git a/tools/target_dec_fuzzer.c b/tools/target_dec_fuzzer.c
index a2c59be318..e51514f994 100644
--- a/tools/target_dec_fuzzer.c
+++ b/tools/target_dec_fuzzer.c
@@ -138,6 +138,7 @@  int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
         // Allows a small input to generate gigantic output
     case AV_CODEC_ID_BINKVIDEO: maxpixels /= 32; break;
     case AV_CODEC_ID_DIRAC:     maxpixels /= 8192; break;
+    case AV_CODEC_ID_DXV:       maxpixels /= 32;  break;
     case AV_CODEC_ID_MSRLE:     maxpixels /= 16;  break;
     case AV_CODEC_ID_QTRLE:     maxpixels /= 16;  break;
     case AV_CODEC_ID_SANM:      maxpixels /= 16;  break;