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, 9 Jul 2018 23:52:56 +0000 (01:52 +0200)
commit3b02b9ad2b81fb536587d45ee7463aaf1fa93a4c
tree617c1567b28148a12d18dc8213f7d76e66484fed
parent9bfdb49b74026f380488cd857f0dddf7bb3834ca
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