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>
Mon, 21 Jan 2019 06:53:26 +0000 (07:53 +0100)
commit219cbc55277ab64b305c82bfa1f85e919610f81d
treed2058a558a658ff319c80393230120030ac36069
parent55c36d2498119b3a01337115b28be006602ccb44
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>
(cherry picked from commit 2bc3811c0d6b34e43a55a7541722761f548628d0)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/dxv.c