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>
Mon, 19 Feb 2018 02:01:43 +0000 (03:01 +0100)
commit6492799fcefba3bde7a291189e1d2fe7ce605282
tree364ad10893d6eb7c929d1611569eb09661031a72
parent010dd0d26e5abd3c244f6680eb3bb0f3370b48db
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>
(cherry picked from commit 647fa49495c39a48b7ccb92acd8fb975b1575456)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/dirac_dwt_template.c