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:54:44 +0000 (23:54 +0200)
commitfd4500df5c87cba6f1cae97ec3cd0932e7a5eac7
treef515ae0470771b64cc034551d2ec38207ac55c5c
parent92f4341ed113a3bb6ef36cbebcf10163d84a47d8
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