[FFmpeg-devel] [PATCH] avformat/asfdec_o: limit recursion depth in asf_read_unknown()

Michael Niedermayer michael at niedermayer.cc
Wed Aug 31 12:45:33 EEST 2022


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 <michael at niedermayer.cc>
> ---
>  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
-------------- 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/20220831/bd2ef974/attachment.sig>


More information about the ffmpeg-devel mailing list