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>
Thu, 12 Apr 2018 22:35:15 +0000 (00:35 +0200)
commitf3562ee6fc847db3162fccfa98449ce21404608e
tree5fa41e66ee1f2a182370c75d3000363ef01e7f86
parentb9d5b1f05dadf6ab3062f59e7a2cbc482e655cb8
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