avcodec/dirac_dwt_template: Fix integer overflow in vertical_compose53iL0()
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 18 Aug 2017 14:42:58 +0000 (16:42 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 20 Aug 2017 19:14:47 +0000 (21:14 +0200)
commita165b53daa8a3a526d2328ca72c4aa9e7f163045
treea87eedddfabda672cc3079c5f76202086c54971c
parentf5361ee56f2164d3bf32fa4587dce6a1c35b4b92
avcodec/dirac_dwt_template: Fix integer overflow in vertical_compose53iL0()

Fixes: runtime error: signed integer overflow: 2147483646 + 2 cannot be represented in type 'int'
Fixes: 3013/clusterfuzz-testcase-minimized-4644084197097472

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_template.c