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>
Thu, 26 Oct 2017 15:34:42 +0000 (17:34 +0200)
commitd13d3feba2d05490a83fe4dfb88125d8dfc00d63
treefea33679d7e5716338fa8b53fffde929d493b758
parentaa6c44c33399a8dd5799dc57d18e0f8235b17f86
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