avcodec/mpeg4videodec: Check sprite delta upshift against overflowing.
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 14 Jun 2017 21:55:17 +0000 (23:55 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 19 Jul 2017 13:26:37 +0000 (15:26 +0200)
commitf33c3ccbe747b63ddb495cfcf7159e222f86ed7d
tree755a9c15ffdcc30c16d6facfbab1678f2ab9ca3a
parent7a86581afd6868a19556a30ecd1096da82b08ffe
avcodec/mpeg4videodec: Check sprite delta upshift against overflowing.

Fixes: runtime error: signed integer overflow: -268386304 * 16 cannot be represented in type 'int'
Fixes: 2204/clusterfuzz-testcase-minimized-5616756909408256

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 12245ab1f677074b8ff83e87f76a41aba692ccd6)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/mpeg4videodec.c