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>
Wed, 6 Dec 2017 21:09:25 +0000 (22:09 +0100)
commit5e9a13a5a33bf7566591216e335f2529612100bb
tree9a57f64b52205d220e80e6151484dcce79f35673
parentd6d605eb05c3ca32f591016c345eb2ad9e81c554
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>
libavcodec/dirac_dwt.h