avcodec/takdec: Fix integer overflow in decode_lpc()
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 22 Sep 2017 18:45:27 +0000 (20:45 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 24 Sep 2017 19:54:13 +0000 (21:54 +0200)
commit5d31f03a0264cac24434c8108daef4ccba6d28f9
tree0d742b719a8810d09b2560838cfe7cdd8b1f738b
parent4f5eaf0b5956e492ee5023929669b1d09aaf6299
avcodec/takdec: Fix integer overflow in decode_lpc()

Fixes: runtime error: signed integer overflow: 16748560 + 2143729712 cannot be represented in type 'int'
Fixes: 3202/clusterfuzz-testcase-minimized-4988291642294272

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