avcodec/snowdec: Check qbias
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 5 May 2017 23:08:54 +0000 (01:08 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 6 May 2017 00:11:34 +0000 (02:11 +0200)
commit523205ce1ed9415183c162998c68f573479e78fe
treee2011d82275ac7012112040336ec250d5f432988
parent859cc5c8e662f8975129ab7f124894d80be7f7f3
avcodec/snowdec: Check qbias

Fixes: signed integer overflow: -1094995529 * 131 cannot be represented in type 'int'
Fixes: 1353/clusterfuzz-testcase-minimized-5208180449607680

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/snowdec.c