avcodec/aacpsdsp_template: Fix integer overflow in ps_hybrid_analysis_c()
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 13 Jun 2019 13:00:14 +0000 (15:00 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 25 Jun 2019 11:30:09 +0000 (13:30 +0200)
commitf8f5668df590d853429586e1f95cbd9cee38920e
treea6ad4507b3b856e58af0b4ce9a0089a81e8a6e92
parent3aecd0170413c7e56f19de4e34d093a2c4027c2a
avcodec/aacpsdsp_template: Fix integer overflow in ps_hybrid_analysis_c()

Fixes: signed integer overflow: -1539565182 + -798086761 cannot be represented in type 'int'
Fixes: 14807/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_AAC_FIXED_fuzzer-564925382682214

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