avformat/vividas: Check av_xiphlacing() return value before use
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 21 Aug 2019 21:05:21 +0000 (23:05 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 22 Aug 2019 16:35:44 +0000 (18:35 +0200)
commit5937f0550304e39be64ce41cc936634f1db54e5d
treeb02b3875e891f0a4d686b9bcf9656d5356ec7e4a
parent9bcb1cb6ed50e66e0489beb871eed83533b3de97
avformat/vividas: Check av_xiphlacing() return value before use

Fixes: out of array access
Fixes: 16277/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-5696629440512000

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