avcodec/cscd: Check output buffer size for lzo.
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 21 Jun 2018 23:18:20 +0000 (01:18 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 22 Oct 2018 23:44:40 +0000 (01:44 +0200)
commit662f7cef06d31a0b98cf5769e671e70b7e53aa36
tree082db0a4e71dc37c97625cb923950130bbf4f47f
parent1e067b7ed86c55382699330b9e9bb1d743627974
avcodec/cscd: Check output buffer size for lzo.

Fixes: Timeout
Fixes: 8665/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_CSCD_fuzzer-5768442610188288

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
(cherry picked from commit 78167b498f53c36c31105a2bf11e90b03637598f)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/cscd.c