avcodec/truemotion1: Check that the input has enough space for a minimal index_stream
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 23 Sep 2019 23:43:35 +0000 (01:43 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 8 Oct 2019 14:24:58 +0000 (16:24 +0200)
commit4a660fac9899191d4121cde02f2a98977b1303b6
treea7131e55c8573344d9526f6455e4c02362d5a363
parent9a0d36e562d53716cf000895c2f892fb1f48165d
avcodec/truemotion1: Check that the input has enough space for a minimal index_stream

Fixes: Timeout (18sec -> 0.4sec)
Fixes: 17585/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TRUEMOTION1_fuzzer-5117015135617024

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