avformat/vividas: Fix infinite loop in header parser
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 10 Aug 2019 21:09:46 +0000 (23:09 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 11 Aug 2019 17:13:21 +0000 (19:13 +0200)
commit52b564ef13237bfbb31a4103d29828dba9d14984
treed125e699d46f8a9588011b1def976e501236e670
parente8bb949ade4078ca318a9b3475cb7a6cfc7e4639
avformat/vividas: Fix infinite loop in header parser

Fixes: Timeout (Infinite -> Finite)
Fixes: 16010/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-5638616102993920

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/vividas.c