FFmpeg/libavcodec
Michael Niedermayer 19af012dac
avcodec/vc2enc: Fix overflows with storing large values
Fixes: left shift of 1431634944 by 2 places cannot be represented in type 'int'
Fixes: left shift of 1073741824 by 1 places cannot be represented in type 'int'
Fixes: 69061/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VC2_fuzzer-6325700826038272

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 af9935835335cae1ae5a4ec7fc14c1b5e25c1f2d)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2024-07-22 01:07:43 +02:00
..
2023-11-10 00:25:38 +01:00
2022-07-07 21:52:52 +02:00
2022-06-24 15:37:23 +08:00
2022-06-24 15:37:23 +08:00
2022-05-08 10:38:54 +08:00
2024-07-21 21:45:15 +02:00
2022-07-09 20:06:47 +02:00
2024-07-21 21:45:37 +02:00
2024-06-13 11:22:11 +02:00
2022-07-07 21:52:52 +02:00
2024-06-13 11:22:10 +02:00
2022-07-12 21:55:22 +02:00
2023-02-22 00:32:19 +01:00
2024-06-13 11:13:56 +02:00
2022-06-25 09:05:58 +08:00
2024-07-21 22:12:44 +02:00
2024-06-13 19:45:26 +02:00
2024-07-21 22:14:11 +02:00
2022-06-16 10:23:30 +02:00
2022-07-03 15:16:31 +02:00
2023-10-30 00:39:00 +01:00
2022-07-03 15:16:31 +02:00
2022-07-03 15:16:31 +02:00
2022-07-03 15:16:31 +02:00
2023-02-22 00:10:15 +01:00
2023-02-21 23:53:32 +01:00
2023-10-30 00:38:57 +01:00
2022-04-10 20:12:23 +02:00
2022-04-13 00:37:06 +02:00
2022-06-25 09:05:58 +08:00
2022-07-13 00:27:37 +02:00
2024-06-13 11:22:12 +02:00
2024-06-13 19:44:50 +02:00
2022-07-12 21:55:22 +02:00