On Wed, 28 Jan 2026 20:40:40 +0100, Marek Vasut wrote:
> The only call site of gzwrite() is cmd/unzip.c do_gzwrite(), where
> the 'len' parameter passed to gzwrite(..., len, ...) function is of
> type unsigned long. This usage is correct, the 'len' parameter is
> an unsigned integer, and the gzwrite() function currently supports
> input data 'len' of up to 4 GiB - 1 .
>
> The function signature of gzwrite() function in both include/gzip.h
> and lib/gunzip.c does however list 'len' as signed integer, which
> is not correct, and ultimatelly limits the implementation to only
> 2 GiB input data 'len' .
>
> [...]
Applied to u-boot/master, thanks!
[1/1] gunzip: Fix len parameter in function signature
commit: 02ffe4a0c9d2885899648a5ffe22090e6c7ff9a5
--
Tom