avcodec/dirac_dwt: Fixes integer overflows in COMPOSE_DAUB97*
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 6 Aug 2017 03:01:45 +0000 (05:01 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 9 Sep 2017 23:33:28 +0000 (01:33 +0200)
commit86b5a3d35dd2b9528eaf1c36397a31ae111c30c4
tree3a668352f07f7cb86fe5c7d4bf2575ddb9968b19
parent818f73542daf9a125b58e284f5ae3c9b35721f5c
avcodec/dirac_dwt: Fixes integer overflows in COMPOSE_DAUB97*

Fix multiple: runtime error: signed integer overflow: 6497 * 3409630 cannot be represented in type 'int'
Fixes: 2819/clusterfuzz-testcase-minimized-4743700301217792

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 a5380f9c1c460acccb2edaa8609e4a57c0456088)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/dirac_dwt.h