avcodec/dxv: Check remaining space in CHECKPOINT()
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 20 Mar 2019 21:29:21 +0000 (22:29 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 28 Mar 2019 20:32:31 +0000 (21:32 +0100)
commit4daec0c6777a6fd545d9e8dcaf9cb6a2cd083235
tree4867f47a142ec54a99cf7de04196c75893870fca
parent0ac3befd479877f11c795ecef8bf1ce2184c5a7a
avcodec/dxv: Check remaining space in CHECKPOINT()

Fixes: Timeout (77sec -> 1sec)
Fixes: 13407/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DXV_fuzzer-5093143018471424

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