diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2021-09-19 22:35:36 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2021-10-06 13:59:34 +0200 |
commit | 8b8ab274af2c04f38a6674312687ec6d32aba2b9 (patch) | |
tree | ccd515ca169b90488925f34e4e372aacebf40535 /libavcodec/truehd_core_bsf.c | |
parent | 6edcacf465a8bc679b45c4012685658812871640 (diff) | |
download | ffmpeg-8b8ab274af2c04f38a6674312687ec6d32aba2b9.tar.gz |
avcodec/cbs_h265_syntax_template: Limit sps_num_palette_predictor_initializer_minus1 to 127
Fixes: index 128 out of bounds for type 'uint16_t [128]'
Fixes: 38651/clusterfuzz-testcase-minimized-ffmpeg_BSF_HEVC_METADATA_fuzzer-6296416058736640
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 85413a5ae6948a1d6e4e947a4fca984b8c686016)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/truehd_core_bsf.c')
0 files changed, 0 insertions, 0 deletions