avcodec/takdec: Fix integer overflow in decorrelate()
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 25 Aug 2019 15:49:15 +0000 (17:49 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 11 Sep 2019 20:43:14 +0000 (22:43 +0200)
commitf1192736494a5b16717de66da4a3d3c6af0e9a7a
tree2cd3b356e45b48610269f66e8d70d6dfa0059168
parentec749ed2225e0c33f0910fc318c73da6f4ceb587
avcodec/takdec: Fix integer overflow in decorrelate()

Fixes: signed integer overflow: -2424832 - 2145653689 cannot be represented in type 'int'
Fixes: 16138/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TAK_fuzzer-5643451346976768

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