diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2020-09-27 20:23:10 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2021-09-10 16:04:26 +0200 |
commit | b77c294c9acc90cd26650ccdbaaf08db40c7d36a (patch) | |
tree | c839e9bcfaac1d67aae2c736d916e22f74146d6c /libavcodec/codec_desc.c | |
parent | 317b5bdcf2170b1124529ff8f6253ec95b3dfc80 (diff) | |
download | ffmpeg-b77c294c9acc90cd26650ccdbaaf08db40c7d36a.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/codec_desc.c')
0 files changed, 0 insertions, 0 deletions