avcodec/vp3: Check that there will be sufficient input for the coded fragments in...
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 5 May 2018 18:08:36 +0000 (20:08 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 13 May 2018 21:52:16 +0000 (23:52 +0200)
commit62f07825ba11502b329716baddadea112c1837e5
tree6ae724511718739a9e77d6b95bb596f850a6858d
parent32234e03a792e3ceca58359d6f2b7244ceb6b77f
avcodec/vp3: Check that there will be sufficient input for the coded fragments in unpack_superblocks()

Fixes: Timeout
Fixes: 6292/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VP3_fuzzer-4871218218926080

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