diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2022-08-31 01:21:38 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2022-10-21 22:19:37 +0200 |
commit | 9bf2cb6d850c43b1294648eceac68783f79d1798 (patch) | |
tree | efbb3e356c87d740802d6c209ac2e9d9ecb65d0d /libavcodec/escape130.c | |
parent | f94628a35fcd50701599c99885d30535de1936e9 (diff) | |
download | ffmpeg-9bf2cb6d850c43b1294648eceac68783f79d1798.tar.gz |
avformat/asfdec_o: limit recursion depth in asf_read_unknown()
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@niedermayer.cc>
(cherry picked from commit 1f1a368169ef9d945dc4b4764f5c60ba9bbc9134)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/escape130.c')
0 files changed, 0 insertions, 0 deletions