avcodec/truemotion2: Check len in tm2_read_stream()
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 1 Jul 2018 19:19:57 +0000 (21:19 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 4 Jul 2018 10:14:00 +0000 (12:14 +0200)
commit4423085ca5009cd4c713798ce34fa3daeee0f27d
tree6157016493a05037005fe976596fa1d56b480958
parent00f98d23b1462afb97116b947334db3754516207
avcodec/truemotion2: Check len in tm2_read_stream()

Fixes: Timeout
Fixes: 8774/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TRUEMOTION2_fuzzer-5942199639343104

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
libavcodec/truemotion2.c