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>
Mon, 21 Jan 2019 06:53:25 +0000 (07:53 +0100)
commitab744447e141ecb997c0f01d7242a8aeb824f333
treeb4bbbffc349f0b4d71a99fe5531ccfbc9687bbc9
parent89d65915cf6e7d79bd57896a4eb3fd626e699fc1
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