avcodec/aacpsdsp_template: Fix integer overflow in ps_stereo_interpolate_c()
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 28 Jul 2018 08:59:09 +0000 (10:59 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 18 Nov 2018 01:20:44 +0000 (02:20 +0100)
commitcc9263c2e165c4c46a55ee643aae1a6da14f4a96
tree59f4afca7fb8e1717c3f50b78934a004c1a9c258
parent1b283238226bf2ff1f328ab4811375240224b346
avcodec/aacpsdsp_template: Fix integer overflow in ps_stereo_interpolate_c()

Fixes: signed integer overflow: -1813244069 + -1407981383 cannot be represented in type 'int'
Fixes: 8823/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_AAC_FIXED_fuzzer-5643295618236416

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 47db5763e21c5e3b0ddde2430d15938f8d88480d)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/aacpsdsp_template.c