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>
Wed, 31 Oct 2018 23:52:46 +0000 (00:52 +0100)
commit0678985c14dd716efaa373ed5986b6e7230365d7
treec03543a83888a02e4d1a36c477fe4d3d62f51259
parent0026d007428a1ef5cd4e8f54bafc54c0306beab9
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