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>
Thu, 12 Apr 2018 22:35:15 +0000 (00:35 +0200)
commite908a595db8e254629cb1275fb9e17099dd2efab
tree842a4eb95d04e211e33c5c29369d47b26bdd4706
parentc3e774784bac7930743d47cbd37e0e9f06fa6e30
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>
(cherry picked from commit 8b5c29b6c2ab00f8fb545475238a99f575b5d81d)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/truemotion2rt.c