avcodec/dirac_dwt: Fix integer overflow in COMPOSE_DD137iL0()
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 14 Nov 2017 02:40:07 +0000 (03:40 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 31 Jan 2018 21:56:14 +0000 (22:56 +0100)
commit813d7f4972333ea6d09c2978cfffc93c4d5e343f
tree123b60afc7f76e80346681f6db670a290f090a2f
parentee54354fcd8e6de40e43f95fb1ea79f316ceec3e
avcodec/dirac_dwt: Fix integer overflow in COMPOSE_DD137iL0()

Fixes: 4035/clusterfuzz-testcase-minimized-6479308925173760
Fixes: runtime error: signed integer overflow: 9 * 402653183 cannot be represented in type 'int'

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 73964680d7bce6d81ddc553a24d73e9a1c9156f9)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/dirac_dwt.h