]> git.sesse.net Git - ffmpeg/commit
avcodec/truemotion2: Fix integer overflow in TM2_RECALC_BLOCK()
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 20 Jan 2018 03:10:50 +0000 (04:10 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 21 Jan 2018 21:51:49 +0000 (22:51 +0100)
commit56a53340ed4cc55898e49c07081311ebb2816630
treef037db332ae7b70d5e918cf8e590d5d27efbd797
parent15a05d2b73c6e5ae530b7e2cafeabe2a383ef72b
avcodec/truemotion2: Fix integer overflow in TM2_RECALC_BLOCK()

Fixes: signed integer overflow: 1477974040 - -1877995504 cannot be represented in type 'int'
Fixes: 4861/clusterfuzz-testcase-minimized-4570316383715328
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