avcodec/4xm: Fix signed integer overflows in idct()
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 26 Jun 2019 22:15:03 +0000 (00:15 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 8 Jul 2019 09:49:51 +0000 (11:49 +0200)
commit4db3ec5e7b1ab08abbe08dbcb7c9de37e8b3dfe4
treed4c61be9b571a966e65586e8ed7753d38509bc02
parent2424d0096e303786fdd4eb6663215f76f8e9da87
avcodec/4xm: Fix signed integer overflows in idct()

Fixes: signed integer overflow: 20242 * 121095 cannot be represented in type 'int'
Fixes: 15310/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_FOURXM_fuzzer-5737051745419264

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 2bbea155bf7c6ce6d5ae53cc41e44798cad2f39c)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/4xm.c