avcodec/error_resilience: Fix integer overflow in filter181()
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 22 Apr 2018 19:46:05 +0000 (21:46 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 22 Oct 2018 23:44:40 +0000 (01:44 +0200)
commitbaa4913e1272211a3711078c9bcd0a8b935fc287
treea2a6eec0e85628b788db9fe3b384eea5becf842c
parentaaa2d4a26523caff7246077de423d2314b7d571c
avcodec/error_resilience: Fix integer overflow in filter181()

Fixes: runtime error: signed integer overflow: 197710 * 10923 cannot be represented in type 'int'
Fixes: 7010/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MPEG4_fuzzer-5667127596941312

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 1c97035e3b1677d6f0c5b6161ebfeffcf7bb638d)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/error_resilience.c