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:47 +0000 (23:54 +0200)
commita17e1abf6e4dbf6a6cb3b81a77582834dcd27071
tree0cbc728ebb0e4ff926ca043b5bfa0bb8f68acd50
parenta4e85b2e1c8d5b4bf0091157bbdeb0e457fb7b8f
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