avcodec/aacdec_template: fix integer overflow in imdct_and_windowing()
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 9 Jul 2019 22:04:02 +0000 (00:04 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 11 Aug 2019 17:13:21 +0000 (19:13 +0200)
commitda93e2b14218c4ab0fda60e21882a4633aac5748
treeab1e056b9707d1d9484e90bd8ca4dc887b7ef4a8
parent1ee863a7b05aaf358c43c3a788e020cc1c752c59
avcodec/aacdec_template: fix integer overflow in imdct_and_windowing()

Fixes: signed integer overflow: 2147483645 + 4 cannot be represented in type 'int'
Fixes: 15418/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_AAC_FIXED_fuzzer-5685269069561856

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