diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2020-10-23 00:24:01 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2021-09-11 21:23:48 +0200 |
commit | 9a523ef89f0538cb0b6d8c694188dfa043264872 (patch) | |
tree | 5770a816444eb3df07ec7250724227f7a5398714 /COPYING.GPLv3 | |
parent | 9b82853d3ccad8ec2d50b14fb4630b86b74997f7 (diff) | |
download | ffmpeg-9a523ef89f0538cb0b6d8c694188dfa043264872.tar.gz |
avcodec/hevc_cabac: Limit value in coeff_abs_level_remaining_decode() tighter
The max depth is 16bps, the max allowed coefficient depth is depth+6
Fixes: signed integer overflow: 1074266112 + 1073725439 cannot be represented in type 'int'
Fixes: 26493/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_HEVC_fuzzer-5657763331702784
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 7cf852b03c3ae6b61f89614371d2cb308d0b7f86)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'COPYING.GPLv3')
0 files changed, 0 insertions, 0 deletions