On Thu, Sep 17, 2026 at 06:02:26PM +0400, Alexey Charkov wrote:

> load_simple_fit() open-codes gzip and lzma in two places, so a FIT built
> with any of the other five algorithms image_decomp() implements is
> silently copied to its load address without decompression and jumped into,
> causing a hang with nothing on the console to aid debugging.
> 
> Call image_decomp() instead, which can handle all compression algorigthms
> enabled in the config, and will abort on an unknown one instead of trying
> to silently jump into it.
> 
> Signed-off-by: Alexey Charkov <[email protected]>
> ---
>  common/spl/spl_fit.c | 27 +++++++++------------------
>  1 file changed, 9 insertions(+), 18 deletions(-)

This seems to solve part of what I just raised in the previous patch,
which really does make me wonder if we can clean that area up further
and drop it.

-- 
Tom

Attachment: signature.asc
Description: PGP signature

Reply via email to