avcodec/dirac_dwt: Fix multiple overflows in 9/7 lifting
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 1 Sep 2017 17:56:11 +0000 (19:56 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 9 Sep 2017 23:33:28 +0000 (01:33 +0200)
commitfef0ccc40132b6a583ec6838e5823baf5649a83d
tree4b1c51f4c9d4466b664424cdc389a25fa17cbc67
parent73427f5c7499bcc07444abced9b79df5b2a27229
avcodec/dirac_dwt: Fix multiple overflows in 9/7 lifting

Fixes: runtime error: signed integer overflow: 1073901567 + 1073901567 cannot be represented in type 'int'
Fixes: 3124/clusterfuzz-testcase-minimized-454643435752652

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 f71cd44147e7a914f80fcfacca46c9e7b0374362)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/dirac_dwt.h