avcodec/truemotion2: fix integer overflows in tm2_low_chroma()
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 16 Nov 2018 23:38:53 +0000 (00:38 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 24 Nov 2018 21:15:15 +0000 (22:15 +0100)
commitdfa3a5ac631832afde852dd62db7833e916ecbdd
tree95afd1e2207217af518f7278b0f03aedfe8bcf94
parentde1d2ea6b20ac6c2a2bf23e67d07a86b87836386
avcodec/truemotion2: fix integer overflows in tm2_low_chroma()

Fixes: 11295/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TRUEMOTION2_fuzzer-4888953459572736

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 2ae39d795613f3c6925c59852b625029b747fe42)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/truemotion2.c