avcodec/dirac_dwt: Fix integer overflow in COMPOSE_FIDELITYi*
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 25 Nov 2017 02:15:16 +0000 (03:15 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 31 Jan 2018 21:56:14 +0000 (22:56 +0100)
commit74d467baa4a3dbc30176a1f2afa27278c5caf897
tree3ff94fea198f1bb7aa326be364ba3a2fa4bf304b
parentea24e70a6a416036d191bb51ca5469679a7c174c
avcodec/dirac_dwt: Fix integer overflow in COMPOSE_FIDELITYi*

Fixes: runtime error: signed integer overflow: -2143827186 - 7404944 cannot be represented in type 'int'
Fixes: 4354/clusterfuzz-testcase-minimized-4671122764201984

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