1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-19 05:49:09 +02:00
FFmpeg/libavcodec
Michael Niedermayer 8636ff4bdf 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-09-09 13:37:20 +02:00
..
2020-07-01 22:25:21 +02:00
2018-10-15 01:19:45 +02:00
2018-10-12 09:48:07 -07:00
2018-08-08 00:13:13 +05:30
2019-06-27 17:50:47 +02:00
2018-09-23 14:42:34 +01:00
2020-01-06 15:03:15 +01:00
2018-07-18 13:59:25 +02:00
2020-01-06 11:30:42 +01:00
2020-07-03 12:10:24 +02:00
2019-06-27 17:50:47 +02:00
2020-01-06 15:03:15 +01:00
2018-09-09 11:35:14 +02:00
2020-07-03 12:10:24 +02:00
2020-07-03 12:10:24 +02:00
2018-09-23 15:25:50 +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
2018-10-03 20:48:49 -03:00
2020-07-03 12:10:24 +02:00
2021-09-09 13:37:20 +02:00
2018-08-22 11:36:19 +02:00
2020-07-03 12:10:23 +02:00
2018-09-14 21:36:21 +02:00
2020-07-03 12:10:23 +02:00
2020-01-06 11:30:42 +01:00
2019-07-08 11:44:52 +02:00
2021-09-09 13:37:20 +02:00
2019-01-21 07:53:26 +01:00
2020-07-01 22:18:52 +02:00
2020-01-06 11:30:44 +01:00
2018-09-08 21:21:50 +02:00
2020-01-06 11:30:43 +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
2018-09-30 22:23:02 +02:00
2019-03-14 00:24:44 +01:00