avcodec/jpeg2000dsp: Fix multiple integer overflows in ict_int()
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 8 Sep 2017 21:29:12 +0000 (23:29 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 11 Sep 2017 11:29:37 +0000 (13:29 +0200)
commit4f97556f5489503d5bdf85a4009984aecb22e1a6
tree891b13eeefd094fd78c841367df88f6d6ccf67e7
parent32fa6ce64afdc8b3ac51f61cd1ec94d3c45d2020
avcodec/jpeg2000dsp: Fix multiple integer overflows in ict_int()

Fixes: runtime error: signed integer overflow: 22553 * -188962 cannot be represented in type 'int'
Fixes: 3042/clusterfuzz-testcase-minimized-5174210131394560

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