avcodec/aacdec_templat: Fix integer overflow in apply_ltp()
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 18 Feb 2018 15:55:52 +0000 (16:55 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 12 Apr 2018 22:35:15 +0000 (00:35 +0200)
commitb172815c3c9bb7dcaa88e388418bbbefd5aa978e
treed3281e719777ca8680305d9ea5e89dbd8a2da9ee
parent1a387f1ce6ec8a8b57849adac5ffbb53c1d07c83
avcodec/aacdec_templat: Fix integer overflow in apply_ltp()

Fixes: signed integer overflow: -1625276744 + -1041893960 cannot be represented in type 'int'
Fixes: 5948/clusterfuzz-testcase-minimized-5791479856365568

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 33fe17bdc88d51a8e0c87aa1e8011aaaf38a7a90)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/aacdec_template.c