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>
Mon, 21 Aug 2017 21:27:09 +0000 (23:27 +0200)
commit2f49580e032934a60fd8c1e349f7d38f9549597d
treec7ae03c01a580f81f3e10783687657d138f15590
parent689e97fcada53517ac68ec5b6cfd85852ae5c4c1
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>
(cherry picked from commit a165b53daa8a3a526d2328ca72c4aa9e7f163045)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/dirac_dwt_template.c