avcodec/cavs: Fix runtime error: signed integer overflow: -12648062 * 256 cannot...
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 5 Jun 2017 17:33:56 +0000 (19:33 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 15 Jun 2017 23:05:29 +0000 (01:05 +0200)
commitfb0d1cafab1df3e6e34124dda19cd94a8f43298b
tree0f1971547957a79ba463483831c28bd40c521d1d
parent25dac3128b605f2867e3e0f0288b896f84d3a033
avcodec/cavs: Fix runtime error: signed integer overflow: -12648062 * 256 cannot be represented in type 'int'

Fixes: 2067/clusterfuzz-testcase-minimized-5578430902960128

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