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, 2 Sep 2017 21:50:28 +0000 (23:50 +0200)
commitf71cd44147e7a914f80fcfacca46c9e7b0374362
tree4d74ba395e119880fcb5456c1eea009dbd7cab3d
parent2a0823ae966be3ad40e5dba6ec4c4dc1e8c6bcad
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>
libavcodec/dirac_dwt.h