avcodec/cavsdec: Check alpha/beta offset
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 20 Feb 2018 22:11:01 +0000 (23:11 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 9 Jul 2018 23:18:52 +0000 (01:18 +0200)
commitd81e0f925a94a3d4f2a1c85447dc1d938e1e4fe5
tree62ae2ec6fa4b1933fc9e0086ed45c92c8c80bbf3
parent84bf347ff054a928e69debb3d84b7c4f9d1a832e
avcodec/cavsdec: Check alpha/beta offset

Fixes: Integer overflow
Fixes: 6183/clusterfuzz-testcase-minimized-6269224436629504

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