avcodec/diracdec: Fix integer overflow in mv computation
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 18 Feb 2018 20:51:38 +0000 (21:51 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 9 Jul 2018 23:18:52 +0000 (01:18 +0200)
commit84bf347ff054a928e69debb3d84b7c4f9d1a832e
tree6b4d1e08cf8009f1fb0832141d2deacc5a6be212
parent36a1e9be5a1d16a6b006eccaa043ac7fd2ebce32
avcodec/diracdec: Fix integer overflow in mv computation

Fixes: signed integer overflow: -2072 + -2147483646 cannot be represented in type 'int'
Fixes: 6097/clusterfuzz-testcase-minimized-5034145253163008

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 47e65ad63b3d067445c4de41a7718b83fc07767c)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/diracdec.c