diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2022-08-31 01:21:38 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2022-09-01 00:41:28 +0200 |
commit | 9b4f9233c3b9c577dc00364e7dab215bed15c173 (patch) | |
tree | 2f7b5d35222de41a38f5fd48be697cb5c98ee4b7 /libavformat/rtmpdh.h | |
parent | 3c293ad92ccb2d9e22f25cef54152d02c258690d (diff) | |
download | ffmpeg-9b4f9233c3b9c577dc00364e7dab215bed15c173.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 'libavformat/rtmpdh.h')
0 files changed, 0 insertions, 0 deletions