avcodec/aacps: Fix integer overflows in hybrid_synthesis()
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 23 Aug 2019 22:11:02 +0000 (00:11 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 11 Sep 2019 20:43:14 +0000 (22:43 +0200)
commitec749ed2225e0c33f0910fc318c73da6f4ceb587
tree7b3c789bca51122322ed439d611943ccb6fe7236
parent0e4a0e962cb0e422d2a350b875fc1e38d7b842a3
avcodec/aacps: Fix integer overflows in hybrid_synthesis()

Fixes: signed integer overflow: -822667928 + -1399761199 cannot be represented in type 'int'
Fixes: 15756/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_AAC_FIXED_fuzzer-5645182051024896

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