avcodec/apedec: Fix integer overflow in filter_fast_3320()
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 17 Aug 2019 22:28:34 +0000 (00:28 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 2 Sep 2019 19:37:18 +0000 (21:37 +0200)
commit64ac8a6e697e06880e05debd5a0e47254cd8b4ca
tree57aad1cfbfa474ad2e81aa3b6610693ed0184ca0
parent6b57a294a32874c9cdc1de0310cbf1d693b4776f
avcodec/apedec: Fix integer overflow in filter_fast_3320()

Fixes: signed integer overflow: -1094994793 * 2 cannot be represented in type 'int'
Fixes: 16139/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_APE_fuzzer-5663911036059648

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