[PATCH 0/2] spl: fix error handling in spl_fit_get_image_name()

Tom Rini trini at konsulko.com
Thu Jun 26 21:32:42 CEST 2025


On Tue, 24 Jun 2025 17:34:29 +0200, Heinrich Schuchardt wrote:

> spl_fit_get_image_name() used to lack a detection of malformed image name
> properties in FIT images. The change in commit 3704b888a4ca ("common/spl:
> fix potential out of buffer access in spl_fit_get_image_name function")
> tried to fix this  but led to function spl_fit_get_image_name() no longer
> detecting if a property at index > 1 does not exist.
> 
> This patch is reverted.
> 
> [...]

Applied to u-boot/master, thanks!

[1/2] common/spl: Revert fix potential out of buffer access in spl_fit_get_image_name function
      commit: 6ef9a89c1da433108ac89deab58954c6e2b798ba
[2/2] common/spl: guard against buffer overflow in spl_fit_get_image_name()
      commit: 79f8f31d58dfcd2b3563c32f1cf1097cee4d7f76
-- 
Tom




More information about the U-Boot mailing list