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>
Mon, 5 Jun 2017 20:43:23 +0000 (22:43 +0200)
commit1e6ee86d9254e8fd2158cc9a31d3be96b0809411
tree09ecb482911acd873b80d09267926e45bb6b2e07
parent2ef9fc997dba90c9af4702971300b60bf0c41ac6
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>
libavcodec/cavs.c