Files
ffmpeg/libavcodec
Michael Niedermayer e241831a6c avcodec/alac: Check decorr_shift to avoid invalid shift
Later the decorrelate_stereo call is guarded by channels == 2
and non-zero decorr_left_weight. Make sure decorr_shift is in
the expected shift range for that case.

Fixes: shift exponent 128 is too large for 32-bit type 'int'
Fixes: 23860/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_ALAC_fuzzer-5751138914402304

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Alexander Strasser <eclipse7@gmx.net>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 4333718b35)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2021-10-17 21:34:53 +02:00
..
2015-08-29 06:44:20 +01:00
2016-08-23 12:36:25 +02:00
2017-06-05 23:16:54 +02:00
2016-11-26 15:12:25 +01:00
2019-12-02 19:41:48 +01:00
2016-08-15 18:54:34 +02:00
2017-05-20 03:41:33 +02:00
2018-07-10 01:52:55 +02:00
2017-05-20 03:41:34 +02:00
2019-12-02 19:41:49 +01:00
2015-10-08 13:15:42 +02:00
2020-07-05 12:43:08 +02:00
2018-07-10 01:52:55 +02:00
2015-09-03 09:47:44 +00:00
2016-01-28 15:53:53 +01:00
2020-07-05 12:43:08 +02:00
2020-07-05 12:43:08 +02:00
2016-04-27 04:40:11 +02:00
2015-09-04 09:33:46 -04:00
2018-01-31 22:09:44 -03:00
2019-12-02 19:41:47 +01:00
2019-12-02 19:41:49 +01:00
2020-07-05 12:43:08 +02:00
2020-07-06 01:51:19 +02:00
2020-04-23 21:29:01 +02:00
2019-12-06 20:30:56 +01:00
2018-07-10 01:18:52 +02:00
2019-12-02 19:41:48 +01:00
2021-10-17 21:34:53 +02:00
2019-12-06 20:30:57 +01:00
2019-12-06 20:30:58 +01:00
2015-10-12 21:46:54 +02:00
2015-09-07 15:32:56 +02:00
2019-12-02 19:41:48 +01:00
2019-12-06 20:30:57 +01:00
2019-12-06 20:30:57 +01:00
2019-12-06 20:30:57 +01:00
2019-12-02 19:41:49 +01:00