avcodec/aacdec_fixed: Fix integer overflow in predict()
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 27 Oct 2017 00:23:20 +0000 (02:23 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 7 Dec 2017 22:38:06 +0000 (23:38 +0100)
commitb3bdb0ddc15b9ecc83548dfe93a26087e415bc30
tree31e55f6f0e92bc3ffc84891a5af6410297304422
parent7a23220bf9473b8918674e39281d2ee7e58cda92
avcodec/aacdec_fixed: Fix integer overflow in predict()

Fixes: runtime error: signed integer overflow: -2110708110 + -82837504 cannot be represented in type 'int'
Fixes: 3547/clusterfuzz-testcase-minimized-6009386439802880

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 0976752420706c0a8b3cb8fd61497a47c7d7270f)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/aacdec_fixed.c