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>
Sun, 17 Jun 2018 23:16:03 +0000 (01:16 +0200)
commit8d05a802dd2f47bf73dc024ae45fb5e27f5709e1
tree1a1bd89eee39de4dc918424e733b3a9b50aa5041
parentca119e9456a22c3205794beb425bdc6ac24d97e8
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