avcodec/dirac_dwt: Fix integer overflow in COMPOSE_FIDELITYi*()
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 18 Sep 2017 00:53:25 +0000 (02:53 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 24 Sep 2017 00:43:56 +0000 (02:43 +0200)
commitff55cf8d5469f9923d2637a46641b68ba31145fd
treeb098a4127c58cd6a0112975dc3d348db37e66f16
parent2ccc30217ace340b3cbbda2b771aa1e05110de30
avcodec/dirac_dwt: Fix integer overflow in COMPOSE_FIDELITYi*()

Fixes: runtime error: signed integer overflow: 161 * 13872281 cannot be represented in type 'int'

Fixes: 3295/clusterfuzz-testcase-minimized-4738998142500864

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