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:19 +0000 (19:13 +0200)
commit4f714352488dad2fa8da6cdf3fe0365869ab8c6e
tree1745db9945ad774336b61b77fd6da8372675cc7b
parent934878f2a62f6744e44b1ef8085ffdfa6d4a5007
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