avcodec/alsdec: Fix undefined behavior in decode_rice()
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 19 Jun 2019 21:17:31 +0000 (23:17 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 6 Jul 2019 21:05:37 +0000 (23:05 +0200)
commitdcef55b5ff8e36d30100df956102ce190b835840
treef1560764de7d4aee5e48d5122ba5a23b41f3d6ae
parent10562175405277ac24f02ee2d29455169b1b54e0
avcodec/alsdec: Fix undefined behavior in decode_rice()

Fixes: left shift of 72 by 26 places cannot be represented in type 'int'
Fixes: 15279/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_ALS_fuzzer-5700665621348352

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 51f6870c37cc29e1ea7e0c66df2fe505938b7561)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/alsdec.c