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, 16 Jul 2018 17:16:13 +0000 (19:16 +0200)
commit3db270a0786207fc5692581ae2fe3f28b917e430
tree9363dfaedaf96d2a3856541a2f63d5a16bf6412e
parentb0c14b02b0570a2edd7054bf7dd6b6e9b00e5858
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