avformat/vividas: Check if extradata was read successfully
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 13 Jul 2019 18:08:03 +0000 (20:08 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 3 Aug 2019 15:44:23 +0000 (17:44 +0200)
commit8e41675e18682ee14a64acf6139d72d22ce669b6
tree61e472a52dd8a7d07d9fe945c4c1e5bc3d5fc283
parent1cf2f040e34bbfedde60ff3d91b2f7b770aca85b
avformat/vividas: Check if extradata was read successfully

Fixes: OOM
Fixes: 15575/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-5654666781655040

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