[FFmpeg-devel] [PATCH 2/3] tools/target_dec_fuzzer: Adjust threshold for binkvideo

Michael Niedermayer michael at niedermayer.cc
Tue Sep 17 15:54:06 EEST 2019


On Mon, Sep 16, 2019 at 09:51:15PM +1000, Peter Ross wrote:
> On Sat, Sep 14, 2019 at 11:39:49PM +0200, Michael Niedermayer wrote:
> > Fixes: Timeout (89sec -> 7sec)
> > Fixes: 17035/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_BINK_fuzzer-5737222422134784
> > 
> > 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 6fb53d5ab2..945f7a497c 100644
> > --- a/tools/target_dec_fuzzer.c
> > +++ b/tools/target_dec_fuzzer.c
> > @@ -128,6 +128,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
> >      maxpixels = maxpixels_per_frame * maxiteration;
> >      switch (c->id) {
> >          // 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_MSRLE:     maxpixels /= 16;  break;
> >      case AV_CODEC_ID_QTRLE:     maxpixels /= 16;  break;
> > -- 
> > 2.23.0
> 
> approve

will apply

thx

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The worst form of inequality is to try to make unequal things equal.
-- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20190917/00276c26/attachment.sig>


More information about the ffmpeg-devel mailing list