avformat/ifv: Check for EOF in read_index()
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 17 Jul 2019 23:00:11 +0000 (01:00 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 18 Jul 2019 23:23:23 +0000 (01:23 +0200)
commit00ed04d6149691a9abf486b2f88172fd6341d801
treee758a7f5c970ad0970c043deb7211c2bad75f127
parent9869e217764f180c88b66cf6d2ffee2bc5e9f6a6
avformat/ifv: Check for EOF in read_index()

Fixes: Timeout
Fixes: 15567/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-5758451487080448

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Peter Ross <pross@xvid.org>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/ifv.c