diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2022-08-31 01:21:38 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2022-08-31 18:06:23 +0200 |
commit | 70f491be134e0610c42475a08f141c86ed7f7756 (patch) | |
tree | 54df8c55b78ec4d95b6c4c45e48b6bbb2b1a7a33 /doc/examples/hw_decode.c | |
parent | 1d5e021c23fd1dafd20a7e726d6558e3cdf2db5b (diff) | |
download | ffmpeg-70f491be134e0610c42475a08f141c86ed7f7756.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 'doc/examples/hw_decode.c')
0 files changed, 0 insertions, 0 deletions