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>
Mon, 8 Jan 2018 22:19:14 +0000 (23:19 +0100)
commit17b3485a6762722c26d6d2ba23b92ea3f87c805b
treed98ef13662acf11bfc87b9a7178de7bc01c55eb6
parent91c7cc9726d242218778426d541a0e88dbe39b83
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