Re: [PATCH RFC 7/9] lib/lz4: switch the decompressor to the vendored sources

From: Sergey Senozhatsky

Date: Mon Sep 28 2026 - 00:17:22 EST


On (26/09/25 13:27), Michal Wilczynski wrote:
[..]
> -static FORCE_INLINE int LZ4_decompress_generic(
[..]
> - /* Necessarily EOF when !partialDecoding.
> - * When partialDecoding, it is EOF if we've either
> - * filled the output buffer or
> - * can't proceed with reading an offset for following match.
> - */
> - if (!partialDecoding || (cpy == oend) || (ip >= (iend - 2)))
> - break;

Worth noting, these lines are downstream commit eafc0a02391b
(lz4: fix LZ4_decompress_safe_partial read out of bound).

Is this intended or are we "loosing" some of the downstream fixes?