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:52 +0000 (02:43 +0200)
commit720a44f3a327772fc5ede7e3bf36aa34f13a5e68
tree22938531f2c28fdf5422c8031dc1b511f52743a8
parent5cf5a1034c0785ba5c1f83a6d1880d5eb6d35852
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