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>
Tue, 27 Feb 2018 18:59:58 +0000 (19:59 +0100)
commit6648d3fef6b07f3ec0b60ec4b5ec08aa5e1964ca
treed9fba18f5139afc12a33459328a567538b9c1d8c
parentafc85dacba4be4b91e2e1ca5df31f55fb94b44d6
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