avcodec/dxv: Check that there is enough data to decompress
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 1 Dec 2018 20:41:01 +0000 (21:41 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 8 Dec 2018 16:01:03 +0000 (17:01 +0100)
commit2bc3811c0d6b34e43a55a7541722761f548628d0
tree8e3b0daa7bb256239a6e9649d6a73222bb8cddbc
parent0cb1ccd1d18931427877277c8d1cd673f12a4d04
avcodec/dxv: Check that there is enough data to decompress

Fixes: Timeout
Fixes: 10979/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DXV_fuzzer-6178582203203584

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