avformat/vividas: check length in read_vblock()
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 12 Jun 2019 12:49:11 +0000 (14:49 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 25 Jun 2019 11:30:09 +0000 (13:30 +0200)
commitd8716e3df9ee81909342b0b59f5b6eff052964fd
tree09e7f720f48b7dd5c5b4d5e7ade7819811ad1146
parent07ffe94c172041cfb03109b9bb6b8bf577332bda
avformat/vividas: check length in read_vblock()

Fixes: out of array access
Fixes: 15166/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-5731062396747776

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