avformat/vividas: check for tiny blocks using alignment
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 31 Aug 2019 21:20:01 +0000 (23:20 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 6 Sep 2019 20:25:35 +0000 (22:25 +0200)
commit55d4e22d71ca75223ee61f7d2535fdc6e9991026
tree19e730d0650cb1494553a6c02ec57394aab366a1
parent413e0f2516eef678011cffd1ec6f0d92aa8bb96a
avformat/vividas: check for tiny blocks using alignment

Ask for a sample for these
Fixes: out of array access
Fixes: 16624/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-5762455661182976

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