avcodec/dirac_dwt: Fix integer overflows in COMPOSE_DAUB97*
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 2 Dec 2017 20:48:04 +0000 (21:48 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 7 Dec 2017 22:32:15 +0000 (23:32 +0100)
commitf9ae19faf4a1b3373cee205797d6bec61934e389
tree1d6af726d0ad6ea83d2b2cb5be1284c61d0d818f
parentc479098b630879d7b3081e9b354bdd66a140e5d8
avcodec/dirac_dwt: Fix integer overflows in COMPOSE_DAUB97*

Fixes: 4478/clusterfuzz-testcase-minimized-4752113767809024
Fixes: runtime error: signed integer overflow: -2147483626 + -319489 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 5e9a13a5a33bf7566591216e335f2529612100bb)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/dirac_dwt.h