avcodec/wavpack: Fix runtime error: signed integer overflow: 24 * -2147483648 cannot...
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 30 May 2017 01:09:11 +0000 (03:09 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 15 Jun 2017 23:05:28 +0000 (01:05 +0200)
commitb424fde5decd155837aee85c038f4619fed54884
tree878e8e7331703d910a9509bf254226c8bf392bf0
parentdf7f051f4dbfd7b2b11c47582776c6ddf3ca39ca
avcodec/wavpack: Fix runtime error: signed integer overflow: 24 * -2147483648 cannot be represented in type 'int'

Fixes: 1894/clusterfuzz-testcase-minimized-4716739789062144

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