]> git.sesse.net Git - ffmpeg/commit
avcodec/truemotion2: Fix integer overflow in tm2_null_res_block()
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 16 Mar 2019 01:30:57 +0000 (02:30 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 25 Mar 2019 12:20:29 +0000 (13:20 +0100)
commit1223696c725a8ea7e80498e6ccfab37eea179b76
tree4f1fa96f532bb703de6f09083827b6b615e0a502
parentc3b517dac2bbd3007c5ac8fc61efe87661dda5c0
avcodec/truemotion2: Fix integer overflow in tm2_null_res_block()

Fixes: signed integer overflow: 1111638592 - -2122219136 cannot be represented in type 'int'
Fixes: 13441/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TRUEMOTION2_fuzzer-5732769815068672
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