diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2022-08-31 01:21:38 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2022-10-28 21:04:04 +0200 |
commit | 998111d4c105e03260d28b7804e0fb1b08043efa (patch) | |
tree | 41ad77283f6cb12d3f06fcd9b6feeee499c1fc72 /libavcodec/mpc.h | |
parent | afd3c64c0fbfa146c21c74eb7c9dd98f403db2c1 (diff) | |
download | ffmpeg-998111d4c105e03260d28b7804e0fb1b08043efa.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/mpc.h')
0 files changed, 0 insertions, 0 deletions