[FFmpeg-devel] [PATCH 2/2] tools/target_dec_fuzzer: Add threshold for IFF_ILBM

Peter Ross pross at xvid.org
Tue Jan 28 22:48:54 EET 2020


On Thu, Jan 23, 2020 at 12:36:39AM +0100, Michael Niedermayer wrote:
> Fixes: Timeout (32 -> 1sec)
> Fixes: 20138/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_IFF_ILBM_fuzzer-5634665251864576
> 
> 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 a3d784a019..e554558b69 100644
> --- a/tools/target_dec_fuzzer.c
> +++ b/tools/target_dec_fuzzer.c
> @@ -143,6 +143,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
>      case AV_CODEC_ID_DST:       maxsamples /= 8192; break;
>      case AV_CODEC_ID_DXV:       maxpixels /= 32;  break;
>      case AV_CODEC_ID_FFWAVESYNTH: maxsamples /= 16384; break;
> +    case AV_CODEC_ID_IFF_ILBM:  maxpixels /= 128; break;
>      case AV_CODEC_ID_MSRLE:     maxpixels /= 16;  break;
>      case AV_CODEC_ID_QTRLE:     maxpixels /= 16;  break;
>      case AV_CODEC_ID_RASC:      maxpixels /= 16;  break;

approve.

-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
-------------- 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/20200129/fec81a12/attachment.sig>


More information about the ffmpeg-devel mailing list