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>
Fri, 1 Dec 2017 23:28:59 +0000 (00:28 +0100)
commitbc65abecd31f2c7f21103472dcd71145e7a8efe7
tree9e0d7646773f65a7bb5ef56b5d927194695847ed
parentd1421edab7c1a2e7d481130884cbecf9c9291c54
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