avcodec/dirac_dwt: Fix multiple integer overflows in COMPOSE_DD97iH0()
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 28 Jul 2017 01:22:40 +0000 (03:22 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 29 Jul 2017 14:28:22 +0000 (16:28 +0200)
commitbf8ab72ae95bb11f2c281d464594c2f6ba70326b
treee9a1a532341266d10cc916e0c2596fbcd10df6f1
parentc0220c768c7fc933a76c863ebbb0abdf68a88533
avcodec/dirac_dwt: Fix multiple integer overflows in COMPOSE_DD97iH0()

Fixes: runtime error: signed integer overflow: 9 * 335544320 cannot be represented in type 'int'
Fixes: 2739/clusterfuzz-testcase-minimized-6737297955356672

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