commit | c02f64c3f35406dbc937ef9484cd0abb3bd20149 | [log] [tgz] |
---|---|---|
author | Tom Rini <trini@konsulko.com> | Thu Jun 26 11:58:21 2025 -0600 |
committer | Tom Rini <trini@konsulko.com> | Thu Jun 26 11:58:21 2025 -0600 |
tree | 2e21f6eea76fba95e7bf9e37ee0ec08e9f67428f | |
parent | 380d476aa9ed111469285b6d779e4e5835849725 [diff] | |
parent | 57894fbfbc0b8e1ed594d4a264f74109989938c5 [diff] |
Merge patch series "spl: fix error handling in spl_fit_get_image_name()" Heinrich Schuchardt <heinrich.schuchardt@canonical.com> says: 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. An explicit check for malformed image name properties is introduced. Link: https://lore.kernel.org/u-boot/38f5d078-3328-4bdb-9c95-4fb5fe89ddc2@gmx.de/T/#u Link: https://lore.kernel.org/r/20250624153431.46986-1-heinrich.schuchardt@canonical.com