avcodec/mv30: Fix multiple integer overflows in idct_1d()
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 23 May 2020 19:52:25 +0000 (21:52 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 4 Jun 2020 21:58:49 +0000 (23:58 +0200)
commit7f817853cd05597a00361c0931048c4fb72042e3
tree3c57329b5ac5aeba947c34dc4cafebd9578a7f1f
parente73a25168028fea7ca8a837519c6643875c09cab
avcodec/mv30: Fix multiple integer overflows in idct_1d()

Fixes: signed integer overflow: -4869937 * 473 cannot be represented in type 'int'
Fixes: 21934/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MV30_fuzzer-5667289925156864

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