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>
Fri, 22 Sep 2017 10:19:07 +0000 (12:19 +0200)
commit67da2685e03805230207daab83ab43a390fbb887
tree0be62aec68506dda6fee0d03ae83649186914213
parentd00fc952b6c261dd8eb0f7552b9ccf985dbc2b20
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>
libavcodec/dirac_dwt.h