[PATCH] image-host: refactor and protect for very long filenames

Tom Rini trini at konsulko.com
Fri Jan 19 17:09:54 CET 2024


On Mon, Jan 08, 2024 at 03:24:30PM +0100, Hugo Cornelis wrote:

> This patch adds a function fit_image_read_key_iv_data that checks the
> return value of snprintf and allows to generate a sensible error
> message when generating binary images using filenames that are too
> long for the OS to handle.
> 
> This is especially relevant for automated builds such as Buildroot and
> Yocto builds.
> 
> Signed-off-by: Hugo Cornelis <hugo.cornelis at essensium.com>

Applied to u-boot/master, 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/20240119/f3f9daa6/attachment.sig>


More information about the U-Boot mailing list