avcodec/aacdec_fixed: Fix undefined integer overflow in apply_independent_coupling_fi...
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 14 Jun 2018 14:41:49 +0000 (16:41 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 15 Jun 2018 20:31:13 +0000 (22:31 +0200)
commit83a737aa7007af99443b703fde8c6a3a843c5d57
treef6ddf4081ed5cc15d15c7d2ff880c58aa5b1712f
parent2deeb2eaef6fb1a315b2a9af21b3f9fa98d62cb2
avcodec/aacdec_fixed: Fix undefined integer overflow in apply_independent_coupling_fixed()

Fixes: signed integer overflow: 1195517 * 2048 cannot be represented in type 'int'
Fixes: 8636/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_AAC_FIXED_fuzzer-4695836326887424

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 8bd514d9343746566b123275f8b6d0e9c11ec2b0)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/aacdec_fixed.c