On Wed, Aug 31, 2022 at 01:31:12AM +0200, Michael Niedermayer wrote: > The threshold of 5 is arbitrary, both smaller and larger should work fine > > Fixes: Stack overflow > Fixes: 50603/clusterfuzz-testcase-minimized-ffmpeg_dem_ASF_O_fuzzer-6049302564175872 > > Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg > Signed-off-by: Michael Niedermayer > --- > libavformat/asfdec_o.c | 10 +++++++--- > 1 file changed, 7 insertions(+), 3 deletions(-) i will apply and backport this soon so its in 5.1.1 [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB The bravest are surely those who have the clearest vision of what is before them, glory and danger alike, and yet notwithstanding go out to meet it. -- Thucydides