diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2020-04-20 23:27:04 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2020-05-21 15:32:28 +0200 |
commit | 1653a2247fd8d92aa70d0633093735e27e38dbce (patch) | |
tree | a5b316851afb462ae3d43463deea87c61a72ffe8 /libavcodec/movtextenc.c | |
parent | 1fc446d7e232f8b5e8d5c3d46b139e6249658f5f (diff) | |
download | ffmpeg-1653a2247fd8d92aa70d0633093735e27e38dbce.tar.gz |
avcodec/cbs_h265_syntax_template: Limit num_long_term_pics more strictly
The limit is based on hevcdec.c
Fixes: 20854/clusterfuzz-testcase-minimized-ffmpeg_BSF_HEVC_METADATA_fuzzer-5160442882424832
Fixes: out of array access
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 435fa373d1f5045b17de74934e44863e2fb3071f)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/movtextenc.c')
0 files changed, 0 insertions, 0 deletions