avcodec/indeo4: Check for end of bitstream in decode_mb_info()
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 1 Jul 2018 23:26:44 +0000 (01:26 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 8 Jul 2018 17:45:47 +0000 (19:45 +0200)
commit2b8c152327b9a403a648376e1fd3891fcc5fbb38
tree49fe3c7f22e2fe2eb520240f3de1e1060308af9b
parentc7dca182268ac493ba38a18d50c8fcce998ebcaa
avcodec/indeo4: Check for end of bitstream in decode_mb_info()

Fixes: Timeout
Fixes: 8776/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_INDEO4_fuzzer-5361788798369792

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