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:53 +0000 (02:43 +0200)
commit743354358b314bd8f1137ce2225aa317781a07b8
tree0acc6b021683daaada217cf4f59ff399e61c2201
parentb9f0979e16c02a60a9482b1c330220e89fd9cd8b
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