diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2020-09-27 20:23:10 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2021-09-09 13:37:21 +0200 |
commit | 1f8aa084ea9011307d322eb399aaeaf51c929794 (patch) | |
tree | dec7871adec9d37aaa1b0105c5596aa8c9b85b0d /libavcodec/mpeg4_unpack_bframes_bsf.c | |
parent | 6778e41252a4c4f78f30638c9e66447d8d3ed2ef (diff) | |
download | ffmpeg-1f8aa084ea9011307d322eb399aaeaf51c929794.tar.gz |
avcodec/cook: Check subpacket index against max
Fixes: off by 1 error
Fixes: index 5 out of bounds for type 'COOKSubpacket [5]'
Fixes: 25772/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_COOK_fuzzer-5762459498184704.fuzz
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 5a2a7604da5f7a2fc498d1d5c90bd892edac9ce8)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/mpeg4_unpack_bframes_bsf.c')
0 files changed, 0 insertions, 0 deletions