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 17:13:20 +0000 (19:13 +0200)
commite8893979249adbb1e8944a3105a8fa4e199aec67
tree53f14cfdc5dbaa23aedeae245bf24ae2e4c35d03
parent7827b06d7731caf06a95f91b5339c8888532218d
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>
(cherry picked from commit bf8ab72ae95bb11f2c281d464594c2f6ba70326b)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/dirac_dwt.h