avcodec/vorbisdec: Check get_vlc2() failure
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 7 Jul 2019 23:18:05 +0000 (01:18 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 30 Aug 2019 21:55:50 +0000 (23:55 +0200)
commit07b948fe60789064d7c784d47b8fe798a9a4d2b9
treec7788fd4d6c6a7362d8eac6283ba7193c1f7ecf3
parent62459d6584ada67b3fb5f38ec86904784c2ab331
avcodec/vorbisdec: Check get_vlc2() failure

Fixes: out of array read
Fixes: 16510/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VORBIS_fuzzer-5754510382727168

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