avcodec/cscd: Error out when LZ* decompression fails
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 11 Mar 2018 23:05:04 +0000 (00:05 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 17 Jun 2018 23:16:03 +0000 (01:16 +0200)
commitf4e01b87f2bcb0a97d80214730a7e8a509982fe2
tree8b34b48aafb11f31ea6956aa644c804bbc6046ba
parent2c2ab8556263fd58e27913eac4c9d858797d39a8
avcodec/cscd: Error out when LZ* decompression fails

Fixes: Timeout
Fixes: 6304/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_CSCD_fuzzer-5754772461191168

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