avcodec/gdv: Error out if we had insufficent input for the output frame in decompress_2()
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 5 Aug 2018 15:22:23 +0000 (17:22 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 27 Sep 2018 23:25:17 +0000 (01:25 +0200)
commit35517e3ca7ea2e243e3e29ec7d4d2a9f150f25ed
tree6f45bd86d3d6aeef3b8ff5581d1be6ec0aa75e60
parent510bd61941548b653ae446ede199013d9af01257
avcodec/gdv: Error out if we had insufficent input for the output frame in decompress_2()

Fixes: Timeout (with the previous commits to gdv.c)
Fixes: 9422/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_GDV_fuzzer-5143490001371136

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