avcodec/dirac_dwt: Fix integer overflow in COMPOSE_53iL0()
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 8 Oct 2017 23:46:28 +0000 (01:46 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 31 Jan 2018 21:56:14 +0000 (22:56 +0100)
commit23ea9f91c03359d88031c522fbf06fd3b7fe0f20
treea1995ba127c3c5edac37c872f130168ca36396d1
parent0d9baa6d16cc84a12f0c73af383c5242a3e4c451
avcodec/dirac_dwt: Fix integer overflow in COMPOSE_53iL0()

Fixes: runtime error: signed integer overflow: 2147483646 + 2 cannot be represented in type 'int'
Fixes: 3485/clusterfuzz-testcase-minimized-4940429332054016

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