1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-03-28 12:32:17 +02:00
FFmpeg/libavcodec
Michael Niedermayer bb81e6eb55 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>
2021-09-09 13:53:29 +02:00
..
2020-07-01 22:25:21 +02:00
2021-09-09 13:37:21 +02:00
2019-06-27 17:50:47 +02:00
2020-01-06 15:03:15 +01:00
2021-09-09 13:37:20 +02:00
2020-01-06 11:30:42 +01:00
2020-07-03 12:10:24 +02:00
2021-09-09 13:53:29 +02:00
2021-09-09 13:53:29 +02:00
2020-01-06 15:03:15 +01:00
2020-07-03 12:10:24 +02:00
2020-07-03 12:10:24 +02:00
2019-01-21 07:53:25 +01:00
2019-06-29 20:43:54 +02:00
2019-03-14 00:24:44 +01:00
2020-01-06 11:30:42 +01:00
2020-07-03 12:10:24 +02:00
2020-07-03 12:10:24 +02:00
2021-09-09 13:37:20 +02:00
2020-07-03 12:10:23 +02:00
2020-07-03 12:10:23 +02:00
2020-01-06 11:30:42 +01:00
2021-09-09 13:37:20 +02:00
2021-09-09 13:37:21 +02:00
2019-07-08 11:44:52 +02:00
2021-09-09 13:37:20 +02:00
2020-07-01 22:18:52 +02:00
2020-01-06 11:30:44 +01:00
2019-01-21 07:53:26 +01:00
2020-01-06 11:30:42 +01:00
2020-01-06 11:30:43 +01:00
2020-01-06 11:30:42 +01:00
2020-01-06 11:30:42 +01:00
2020-01-06 11:30:42 +01:00
2019-03-14 00:24:44 +01:00