avformat/vividas: Check for input length in get_v()
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 26 Jun 2019 22:02:31 +0000 (00:02 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 8 Jul 2019 07:50:00 +0000 (09:50 +0200)
commite69106e70c89ed4864f504891d28886df6b15441
treef37bb24e90768398d3dcfbd8887e96271345ad0d
parent2bbea155bf7c6ce6d5ae53cc41e44798cad2f39c
avformat/vividas: Check for input length in get_v()

Fixes: out of array read
Fixes: 15286/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-5658245101780992

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