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 4333718b357a9ad195031e5d0ea080d37677b795)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2021-10-17 21:34:53 +02:00
..
2019-12-02 19:41:47 +01:00
2019-12-06 20:30:57 +01:00
2019-12-02 19:41:48 +01:00
2019-12-02 19:41:49 +01:00
2019-12-06 20:30:57 +01:00
2019-12-02 19:41:48 +01:00
2018-07-10 01:52:55 +02:00
2020-04-23 21:29:01 +02:00
2020-07-05 12:43:08 +02:00
2019-12-02 19:41:47 +01:00
2021-10-17 21:34:53 +02:00
2019-12-06 20:30:57 +01:00
2019-12-06 20:30:57 +01:00
2018-07-10 01:52:56 +02:00
2019-12-02 20:58:37 +01:00
2020-07-07 19:30:22 +02:00
2019-12-02 19:41:48 +01:00
2019-12-06 20:30:58 +01:00
2019-12-06 20:30:57 +01:00
2020-04-23 21:29:01 +02:00
2020-04-23 21:29:01 +02:00
2019-12-02 19:41:47 +01:00
2019-12-06 20:30:57 +01:00
2019-12-06 20:30:57 +01:00
2019-12-02 19:41:48 +01:00
2020-07-05 12:43:08 +02:00
2019-12-02 19:41:48 +01:00
2019-12-02 19:41:48 +01:00
2019-12-02 19:41:48 +01:00
2019-12-02 19:41:47 +01:00
2019-12-02 19:41:48 +01:00
2019-12-06 20:30:57 +01:00
2019-12-02 19:41:48 +01:00
2019-12-02 19:41:47 +01:00
2018-07-10 01:52:55 +02:00
2019-12-06 20:30:58 +01:00
2020-04-23 21:29:01 +02:00
2019-12-02 19:41:48 +01:00
2018-07-10 01:52:56 +02:00
2019-12-02 19:41:49 +01:00
2019-12-02 19:41:47 +01:00
2018-07-10 01:52:56 +02:00
2019-12-02 19:41:49 +01:00
2019-12-02 19:41:48 +01:00
2020-04-23 21:29:01 +02:00
2020-07-05 12:43:08 +02:00
2018-07-10 01:52:55 +02:00
2019-12-02 19:41:48 +01:00
2018-07-15 20:08:57 +02:00
2018-10-03 12:37:52 +02:00
2019-12-02 19:41:48 +01:00
2018-07-10 01:52:55 +02:00
2019-12-02 19:41:47 +01:00
2018-07-10 01:52:56 +02:00
2018-02-17 16:11:57 +01:00
2019-12-06 20:30:57 +01:00
2018-07-10 01:52:55 +02:00
2020-07-05 12:43:08 +02:00
2019-12-02 19:41:47 +01:00
2020-04-23 21:29:01 +02:00
2020-04-23 21:29:01 +02:00
2019-12-02 19:41:48 +01:00
2020-07-05 12:43:08 +02:00
2019-12-06 20:30:57 +01:00
2019-12-06 20:30:58 +01:00
2020-07-05 12:43:08 +02:00
2018-07-10 01:18:52 +02:00
2018-07-10 01:52:55 +02:00
2018-02-15 14:09:54 +01:00
2018-10-19 00:18:01 +02:00
2018-07-10 01:52:56 +02:00
2018-09-03 00:09:11 +02:00
2020-07-05 12:43:08 +02:00
2019-12-06 20:30:57 +01:00
2020-04-23 21:29:01 +02:00
2018-01-31 23:47:16 +01:00
2019-12-02 19:41:49 +01:00
2019-12-06 20:30:57 +01:00
2018-01-31 23:47:15 +01:00
2019-12-02 19:41:49 +01:00
2020-07-05 12:43:08 +02:00
2020-07-05 12:43:08 +02:00
2019-12-02 19:41:48 +01:00
2020-07-05 12:43:08 +02:00
2018-07-15 19:25:36 +02:00
2019-12-02 20:58:37 +01:00
2018-07-10 01:52:56 +02:00
2018-01-31 23:47:16 +01:00
2019-12-06 20:30:57 +01:00
2020-07-05 12:43:08 +02:00
2018-10-23 00:54:29 +02:00
2019-12-02 19:41:47 +01:00
2019-12-02 19:41:48 +01:00
2020-04-23 21:29:01 +02:00
2018-07-10 01:52:55 +02:00
2020-05-23 21:38:21 +02:00
2019-12-06 20:30:57 +01:00
2020-05-23 21:38:49 +02:00
2018-07-10 10:47:30 +02:00
2018-01-31 22:09:44 -03:00
2020-07-07 19:29:28 +02:00
2020-07-05 12:43:08 +02:00
2019-12-06 20:30:57 +01:00
2019-12-02 19:41:47 +01:00
2019-12-02 19:41:48 +01:00
2018-07-10 01:52:55 +02:00
2019-12-02 19:41:47 +01:00
2020-04-23 21:29:01 +02:00
2020-04-23 21:29:01 +02:00
2019-12-06 20:30:57 +01:00
2018-07-10 01:52:55 +02:00
2020-04-23 21:29:01 +02:00
2019-12-02 19:41:49 +01:00
2020-07-05 12:43:08 +02:00
2020-07-05 12:43:08 +02:00
2020-07-05 12:43:08 +02:00
2018-11-04 20:24:22 +01:00
2020-04-23 21:29:01 +02:00
2019-12-02 15:45:24 +01:00
2018-10-25 00:24:30 +02:00
2019-12-02 19:41:49 +01:00
2019-12-02 19:41:49 +01:00
2019-12-02 19:41:48 +01:00
2019-12-02 19:41:48 +01:00
2019-12-02 19:41:49 +01:00
2019-12-02 19:41:49 +01:00
2019-12-02 15:45:24 +01:00
2019-12-06 20:30:58 +01:00
2020-07-05 12:43:08 +02:00
2018-07-10 01:52:56 +02:00
2019-12-02 19:41:48 +01:00
2020-04-23 21:29:01 +02:00
2020-04-23 21:29:01 +02:00
2020-07-05 13:01:36 +02:00
2020-07-05 13:01:36 +02:00
2020-04-23 21:29:01 +02:00
2020-07-06 01:51:19 +02:00
2019-12-06 20:30:57 +01:00
2020-04-23 21:29:01 +02:00
2019-12-02 19:41:47 +01:00
2018-08-03 02:18:56 +02:00
2018-10-18 23:59:13 +02:00
2020-07-05 12:43:08 +02:00
2019-12-06 20:30:56 +01:00
2019-12-02 19:41:48 +01:00
2020-04-23 21:29:01 +02:00
2019-12-02 19:41:49 +01:00
2018-11-16 13:18:26 +01:00
2020-04-23 21:29:01 +02:00
2018-07-10 01:18:52 +02:00
2020-04-23 21:29:01 +02:00
2020-07-05 12:43:08 +02:00
2019-12-06 20:30:57 +01:00
2020-07-05 12:43:08 +02:00
2019-12-06 20:30:57 +01:00
2020-07-05 12:43:08 +02:00
2019-12-02 19:41:48 +01:00
2019-12-06 20:30:58 +01:00
2020-04-23 21:29:01 +02:00
2021-10-17 21:34:53 +02:00
2019-12-06 20:30:57 +01:00
2020-04-23 21:29:01 +02:00
2019-12-06 20:30:57 +01:00
2019-12-06 20:30:57 +01:00
2020-04-23 21:29:01 +02:00
2020-07-05 12:43:08 +02:00
2018-10-07 21:05:50 +02:00
2019-12-06 20:30:58 +01:00
2020-07-05 12:43:08 +02:00
2019-12-06 20:30:57 +01:00
2019-12-06 20:30:58 +01:00
2019-12-06 20:30:57 +01:00
2019-12-06 20:30:57 +01:00
2020-04-23 21:29:01 +02:00
2019-12-02 19:41:48 +01:00
2019-12-02 19:41:48 +01:00
2020-04-23 21:29:01 +02:00
2019-12-02 19:41:48 +01:00
2019-12-06 20:30:57 +01: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
2020-07-05 12:43:08 +02:00
2019-12-02 20:58:37 +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
2018-07-10 01:52:56 +02:00
2018-07-10 01:52:56 +02:00
2020-04-23 21:29:01 +02:00
2020-04-23 21:29:01 +02:00
2020-07-05 12:43:08 +02:00
2020-04-23 21:29:01 +02:00
2020-04-23 21:29:01 +02:00
2019-12-02 15:45:24 +01:00
2020-07-05 12:43:08 +02:00
2018-07-10 01:52:56 +02:00
2018-10-03 12:31:19 +02:00