Re: [PATCH] spl: fit: Fill in the image descriptor when skipping a zero-size image

Tom Rini <[email protected]>
Newsgroups org.u-boot-project.lists.u-boot
Message-ID <[email protected]>
On Thu, 30 Jul 2026 17:24:10 +0400, Alexey Charkov wrote:

> load_simple_fit() is expected to fill in the image_info structure it
> receives upon successful return, but the path which skips a zero-sized
> image returns success without touching it. The result is that
> spl_fit_record_loadable() then publishes whatever else the descriptor
> happened to hold in /fit-images under the skipped image's name: the size
> and entry point of the previous loadable, or - for the first one, since
> image_info is declared without an initialiser - uninitialised stack.
> 
> [...]

Applied to u-boot/next, thanks!

[1/1] spl: fit: Fill in the image descriptor when skipping a zero-size image
      commit: b152f193fe10444c151b1e78afa582780af0e7bb
-- 
Tom
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.