Files
ffmpeg/libavcodec
Michael Niedermayer a456ac8038 avcodec/celp_math: avoid overflow in shift
by making gain unsigned we have 1 bit more available
alternatively we can clip twice as in the g729 reference

Fixes: left shift of 23404 by 17 places cannot be represented in type 'int'
Fixes: 61728/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_ACELP_KELVIN_fuzzer-6280412547383296

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 6580a7b2b2)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2023-12-21 22:43:50 +01:00
..
2023-04-07 23:40:49 +02:00
2021-06-18 20:53:56 +02:00
2022-09-25 13:51:42 +02:00
2022-04-06 20:27:35 +02:00
2023-12-21 22:43:41 +01:00
2022-09-25 13:51:46 +02:00
2023-12-21 22:43:39 +01:00
2022-04-06 20:27:35 +02:00
2023-04-07 23:40:41 +02:00
2023-04-07 23:40:40 +02:00
2021-10-05 23:19:39 +02:00
2023-04-07 23:40:39 +02:00
2023-12-21 22:43:44 +01:00
2021-09-21 23:20:29 -03:00
2022-09-25 13:51:43 +02:00