avcodec/kgv1dec: Check that there is enough input for maximum RLE compression
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 22 Nov 2017 19:14:54 +0000 (20:14 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 27 Nov 2017 02:31:53 +0000 (03:31 +0100)
commit3aad94bf2b140cfba8ae69d018da05d4948ef37f
treea49a70da66ecf58e56ee92088489f68ce09663e7
parent38f966b2222db4bfeeaca4642a63049253536c46
avcodec/kgv1dec: Check that there is enough input for maximum RLE compression

Fixes: Timeout
Fixes: 4271/clusterfuzz-testcase-4676667768307712

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