]> git.sesse.net Git - ffmpeg/commit
avcodec/notchlc: Check uncompressed size against input for LZ4
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 14 Oct 2020 15:53:07 +0000 (17:53 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 3 Jan 2021 00:16:25 +0000 (01:16 +0100)
commit32d0561891e1a78f9bd18ad667ca526ab1600a06
tree9b91b42a19c34af9bf1adb8c2ff807cef7826217
parented524136e0d0ae26c9f11df42baf72689499f99f
avcodec/notchlc: Check uncompressed size against input for LZ4

Fixes: OOM
Fixes: 26168/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_NOTCHLC_fuzzer-6019839015256064
Fixes: 28397/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_NOTCHLC_fuzzer-5649039941042176
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/notchlc.c