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

2024-01-19 Thread Tom Rini
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

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

2024-01-08 Thread Hugo Cornelis
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 an