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>
Sat, 9 Sep 2017 23:33:28 +0000 (01:33 +0200)
commit253b7829e4f547ebd5b95a3154ae2e5b3f200b13
tree6644297bc12f210c379d392fbab921b7fa584082
parentf5227c50b7396be373103a1861cd70e9bb8c81cd
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