Re: [PATCH v2 13/15] lib/lz4: switch the decompressor to the vendored sources
From: S. Biplab Raut
Date: Wed Nov 18 2026 - 13:36:08 EST
With the whole of v2 applied on v7.3-rc4, the lz4_decompress cases of
the lib/lz4 KUnit tests I posted in this thread pass on UML, i386, and
x86_64 under QEMU with KASAN and KASAN_VMALLOC. They cover round trips
through LZ4_decompress_safe() and LZ4_decompress_safe_partial(),
truncated and corrupted blocks, offset-0 matches, and overlong literal
and match lengths, with work memory allocated at exactly
LZ4_MEM_DECOMPRESS.
On i386 this also fixes a case mainline gets wrong: a match length
whose extension bytes sum to SIZE_MAX is now rejected, where v7.3-rc4
alone wraps it to 18 bytes and accepts the block.
Tested-by: S. Biplab Raut <Biplab.Raut@xxxxxxx>