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:12:10 +0000 (22:12 +0100)
commit2ae39d795613f3c6925c59852b625029b747fe42
treea17c4fd4fc2e57f25475d540954bd570ac5cadb7
parent86e6f0dbc7fd31e4a071c9fc1fc94fb9e74e0624
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>
libavcodec/truemotion2.c