avcodec/jpeg2000dsp: Fix integer overflows in ict_int()
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 7 Jan 2018 03:12:57 +0000 (04:12 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 12 Apr 2018 22:35:15 +0000 (00:35 +0200)
commite4afafaa7effe5086373790639c1d0a962d4d007
treeadad49a0c7af705972daff2a64931e7ef93004f4
parentd81bfc042cea588213d7ce2162d9c7fd1b23b98f
avcodec/jpeg2000dsp: Fix integer overflows in ict_int()

Fixes: signed integer overflow: 46802 * -71230 cannot be represented in type 'int'
Fixes: 4756/clusterfuzz-testcase-minimized-4812495563784192

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