avcodec/truemotion2rt: Check input buffer size
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 22 Feb 2018 02:04:40 +0000 (03:04 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 27 Feb 2018 18:37:06 +0000 (19:37 +0100)
commit8b5c29b6c2ab00f8fb545475238a99f575b5d81d
tree1d2bad3de6adc5f8452f0137aae3aaed630978a9
parent3981fb8d2a03cdb3399590da8621a7bcc22e2964
avcodec/truemotion2rt: Check input buffer size

Fixes: Timeout
Fixes: 6250/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TRUEMOTION2RT_fuzzer-5479814011027456

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/truemotion2rt.c