commit | 0b9b89fda2e9fbaf17a11fa15332e7ae95cf5261 | [log] [tgz] |
---|---|---|
author | Chao Yu <chao@kernel.org> | Tue Apr 26 23:26:46 2022 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Tue Apr 26 16:05:35 2022 -0700 |
tree | 4bd617abed18ce1a1ed315147559a7aeddca8275 | |
parent | eee3969d7dcf3be9c3b831d993fcf49f55855a35 [diff] |
dump.f2fs: compress: fix dstlen of LZ4_compress_fast_extState() Compressed cluster content includes compress cluster header, so calculation of dstlen parameter in LZ4_compress_fast_extState() should consider this design, otherwise compressed data may overflow destination buffer during compression. Signed-off-by: Chao Yu <chao.yu@oppo.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>