avcodec/vc1_block: Fix integer overflow in ff_vc1_pred_dc()
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 4 Jul 2019 21:13:13 +0000 (23:13 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 4 Aug 2019 19:16:28 +0000 (21:16 +0200)
commit4739a62451059f0256473621b27f0cd0edd48349
tree36949ae07a46e727d87e666e52fc692d1319c80f
parenta2c8df28c9c6d63d2ce7fb04e9aa677da07246ea
avcodec/vc1_block: Fix integer overflow in ff_vc1_pred_dc()

Fixes: signed integer overflow: 32796 * 65536 cannot be represented in type 'int'
Fixes: 15430/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VC1IMAGE_fuzzer-5735424087031808

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