avcodec/wmalosslessdec: Fix 2 overflows in mclms
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 20 Nov 2019 21:05:40 +0000 (22:05 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 15 Dec 2019 00:01:22 +0000 (01:01 +0100)
commit92455c8c65c403ea696cb8c63d474d386d631bbd
treec6397cbb64f2149481f970e6a6ef7fc2853dbdb5
parent6b7bcd437e590f1678cd6588dcb335d092a1e048
avcodec/wmalosslessdec: Fix 2 overflows in mclms

Fixes: signed integer overflow: 2038337026 + 109343477 cannot be represented in type 'int'
Fixes: 18886/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WMALOSSLESS_fuzzer-5673660505653248

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/wmalosslessdec.c