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>
Wed, 23 Aug 2017 11:15:18 +0000 (13:15 +0200)
commit0b02123cc8bb783e7677e6de2f3f2f389f59ca6f
tree7feb123609f609dd324be0dd94016cc050a39838
parent046e0524b92bb6933a40e1b24403763739b49495
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