On Wed, Jun 10, 2026 at 11:01:23AM +0200, Nora Schiffer wrote:

> CONFIG_SYS_BOOTM_LEN is passed to image_decomp(), so the same should be
> used for the buffer allocation. Deriving a buffer size from the
> compressed size if not possible, as the compression ratio may be
> arbitrarily high for data with many repititions (for example ranges of
> 0x00 or 0xff).
> 
> Fixes: 69544c4fd8b1 ("bootm: Support kernel_noload with compression")
> Signed-off-by: Nora Schiffer <[email protected]>

Reviewed-by: Tom Rini <[email protected]>

-- 
Tom

Attachment: signature.asc
Description: PGP signature

Reply via email to