[PATCH] spl: fit: Skip attempting to load 0 length image
Tom Rini
trini at konsulko.com
Thu Dec 2 13:14:31 CET 2021
On Tue, Oct 19, 2021 at 12:32:29PM -0500, Nishanth Menon wrote:
> When, for various reasons, a bad FIT image is used where a loadable
> image is marked as 0 length, attempt is made for a 0 length allocation and
> read of 0 byte read operation.
>
> Instead provide warning in log and skip attempting to do such a load.
>
> Signed-off-by: Nishanth Menon <nm at ti.com>
> Reviewed-by: Aswath Govindraju <a-govindraju at ti.com>
Applied to u-boot/next, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20211202/ce7af3d9/attachment.sig>
More information about the U-Boot
mailing list