diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2020-04-20 23:27:04 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2020-07-03 12:10:24 +0200 |
commit | 6f582f69dff5f497ad8c51d5b3abc78e19789844 (patch) | |
tree | 36af5bb603fff837d1163a589dc9435a5cc78db8 /libavdevice/xcbgrab.c | |
parent | b2116b438e7ff9fca8272abb9f6ac2dfdb8f2cd4 (diff) | |
download | ffmpeg-6f582f69dff5f497ad8c51d5b3abc78e19789844.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 'libavdevice/xcbgrab.c')
0 files changed, 0 insertions, 0 deletions