avcodec/truemotion2: Propagate out of bounds error from GET_TOK()
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 10 Apr 2018 20:24:03 +0000 (22:24 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 9 Jul 2018 23:52:55 +0000 (01:52 +0200)
commit6186bfad387042f36a6fbf7c38dafaeec6cc774a
tree8f3d4a5d3c23caaf1d089bb58ede349aefed211f
parent23dcc9ff7c37e8da1808802be66de89d70b06599
avcodec/truemotion2: Propagate out of bounds error from GET_TOK()

Fixes: Timeout
Fixes: 6389/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TRUEMOTION2_fuzzer-5695918121680896

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 f6304af2341d0cee51c2116766622e3ac567b7a0)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/truemotion2.c