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>
Tue, 27 Feb 2018 18:59:58 +0000 (19:59 +0100)
commit24a3c45da511c58f550f33db507c3fda50e496af
tree9a0551df8137f7905267ec19338f2acc4d3301f3
parent6822bd50c1eaa385b202ba692d954e1fb2a97fc3
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