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 10:28:23 +0000 (12:28 +0200)
commit2d025e742843ca3532bd49ebbfebeacd51337347
tree8e653b02c0fe9b6769c7b3f26cbbb63f819acc32
parentf0efd795f460aa64d06bb542c6eadd113c2585c2
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>
libavcodec/jpeg2000dsp.c