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, 19 Feb 2018 01:40:54 +0000 (02:40 +0100)
commita5a6d2dc75169918dec79e22aec146471e26db23
tree89d943a253430443d7d4a5b002e2760cd1fc4b84
parentef95789c8c492e86f21d9a5224745abe6b662cbe
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