[FFmpeg-devel] [PATCH 3/6] tools/target_dec_fuzzer: Adjust threshold for MMVIDEO

Michael Niedermayer michael at niedermayer.cc
Wed Jul 20 17:30:37 EEST 2022


On Wed, Jul 20, 2022 at 06:58:10PM +1000, Peter Ross wrote:
> On Tue, Jul 19, 2022 at 01:34:50PM +0200, Michael Niedermayer wrote:
> > Fixes: Timeout
> > Fixes: 49003/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MMVIDEO_fuzzer-5550368423018496
> > 
> > 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 1587045e02..017c5cf024 100644
> > --- a/tools/target_dec_fuzzer.c
> > +++ b/tools/target_dec_fuzzer.c
> > @@ -246,6 +246,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
> >      case AV_CODEC_ID_LOCO:        maxpixels  /= 1024;  break;
> >      case AV_CODEC_ID_VORBIS:      maxsamples /= 1024;  break;
> >      case AV_CODEC_ID_LSCR:        maxpixels  /= 16;    break;
> > +    case AV_CODEC_ID_MMVIDEO:     maxpixels  /= 256;   break;
> >      case AV_CODEC_ID_MOTIONPIXELS:maxpixels  /= 256;   break;
> >      case AV_CODEC_ID_MP4ALS:      maxsamples /= 65536; break;
> >      case AV_CODEC_ID_MSA1:        maxpixels  /= 16384; break;
> 
> please apply.

will apply

thx

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

If a bugfix only changes things apparently unrelated to the bug with no
further explanation, that is a good sign that the bugfix is wrong.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20220720/b373ca8e/attachment.sig>


More information about the ffmpeg-devel mailing list