avcodec/libvorbisdec: Check extradata size
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 17 Jun 2019 19:26:45 +0000 (21:26 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 29 Jun 2019 17:22:19 +0000 (19:22 +0200)
commitcf3c245566e8a8d45ed2ad9fdff9ef50327ba2d3
tree68e077d8e9ccd45053b51c28fea664a73199a9be
parent7c30ff38880570377168096417f714b21102b343
avcodec/libvorbisdec: Check extradata size

Fixes: out of array read
Fixes: 15261/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_LIBVORBIS_fuzzer-5764908467093504

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