avcodec/dirac_dwt_template: Fix Integer overflow in horizontal_compose_dd137i()
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 17 Feb 2018 20:47:09 +0000 (21:47 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 18 Feb 2018 22:27:03 +0000 (23:27 +0100)
commit647fa49495c39a48b7ccb92acd8fb975b1575456
treec582627b64a42aeb50a44a2244017c1b7d21f3dd
parentf82dd4c09b2decb033f1e339d4be81efd38554f1
avcodec/dirac_dwt_template: Fix Integer overflow in horizontal_compose_dd137i()

Fixes: 5894/clusterfuzz-testcase-minimized-5315325420634112
Fixes: runtime error: signed integer overflow: 2147483647 + 1 cannot be represented in type 'int'

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