Message ID | 20211205211907.30010-3-michael@niedermayer.cc |
---|---|
State | Accepted |
Commit | 1372b30db2d5b4565376a168d7d806c56f3d96f1 |
Headers | show |
Series | [FFmpeg-devel,1/7] avformat/vivo: Do not use the general expression evaluator for parsing a floating point value | expand |
Context | Check | Description |
---|---|---|
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
andriy/make_ppc | success | Make finished |
andriy/make_fate_ppc | success | Make fate finished |
On Sun, Dec 05, 2021 at 10:19:03PM +0100, Michael Niedermayer wrote: > Fixes: Timeout > Fixes: 41580/clusterfuzz-testcase-minimized-ffmpeg_dem_HLS_fuzzer-5059099224571904 > > 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_dem_fuzzer.c | 4 ++++ > 1 file changed, 4 insertions(+) will apply [...]
diff --git a/tools/target_dem_fuzzer.c b/tools/target_dem_fuzzer.c index 6ee793a28ba..687989ccc89 100644 --- a/tools/target_dem_fuzzer.c +++ b/tools/target_dem_fuzzer.c @@ -172,6 +172,10 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { avfmt->interrupt_callback.callback = interrupt_cb; } + // HLS uses a loop with sleep, we thus must breakout or we timeout + if (!strcmp(fmt->name, "hls")) + interrupt_counter &= 31; + if (!io_buffer_size || size / io_buffer_size > maxblocks) io_buffer_size = size;
Fixes: Timeout Fixes: 41580/clusterfuzz-testcase-minimized-ffmpeg_dem_HLS_fuzzer-5059099224571904 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_dem_fuzzer.c | 4 ++++ 1 file changed, 4 insertions(+)