avcodec/diracdec: Fix integer overflow in global_mv()
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 22 May 2019 00:01:33 +0000 (02:01 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 5 Jun 2019 11:19:59 +0000 (13:19 +0200)
commita99ffb5bb4454c625748972d9389cfaa5433a342
tree172d10b35dc012d6ecec49b87ac388b1115b1fb2
parent0a2b768d3ecca32d496da1393406bebcab7680e2
avcodec/diracdec: Fix integer overflow in global_mv()

Fixes: signed integer overflow: 16384 * 196607 cannot be represented in type 'int'
Fixes: 14810/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DIRAC_fuzzer-5091232683917312

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