[FFmpeg-devel] [PATCH 4/4] tools/target_dec_fuzzer: Adjust max_pixels for IDCIN
Paul B Mahol
onemda at gmail.com
Thu Aug 22 11:09:30 EEST 2019
Why not fix issues listed in decoder code instead of this hack?
On Thu, Aug 22, 2019 at 12:21 AM Michael Niedermayer <michael at niedermayer.cc>
wrote:
> Fixes: Timeout (128sec -> 6sec)
> Fixes:
> 16568/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_IDCIN_fuzzer-5675004095627264
>
> Found-by: continuous fuzzing process
> https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
> Signed-off-by
> <https://github.com/google/oss-fuzz/tree/master/projects/ffmpegSigned-off-by>:
> Michael Niedermayer <michael at niedermayer.cc>
> ---
> tools/target_dec_fuzzer.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/tools/target_dec_fuzzer.c b/tools/target_dec_fuzzer.c
> index d83039417c..fd76553ec8 100644
> --- a/tools/target_dec_fuzzer.c
> +++ b/tools/target_dec_fuzzer.c
> @@ -177,6 +177,8 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t
> size) {
> case AV_CODEC_ID_GDV: maxpixels /= 256; break;
> // Postprocessing in C
> case AV_CODEC_ID_HNM4_VIDEO:maxpixels /= 128; break;
> + // Unoptimized VLC reading and allows a small input to generate
> gigantic output
> + case AV_CODEC_ID_IDCIN: maxpixels /= 2048; break;
> }
>
>
> --
> 2.23.0
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
More information about the ffmpeg-devel
mailing list