avcodec/wmalosslessdec: Fix integer overflow in mclms_predict()
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 23 May 2020 20:02:56 +0000 (22:02 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 4 Jun 2020 21:58:49 +0000 (23:58 +0200)
commitc42ed06695848617350a94543823e850f190b3ab
tree86a06545ba7cb711709d72b8e44378a049a9f3e0
parent071e2937236945c168ab99d3e3b01539194466dd
avcodec/wmalosslessdec: Fix integer overflow in mclms_predict()

Fixes: signed integer overflow: 2147483636 + 2048 cannot be represented in type 'int'
Fixes: 22016/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WMALOSSLESS_fuzzer-5109395618004992

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