diff options
author | Hugo Cornelis <hugo.cornelis@essensium.com> | 2024-01-08 15:24:30 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-01-18 17:50:27 -0500 |
commit | bc01d9ff93f350a35c51ddb75f81c2a6f663b1c1 (patch) | |
tree | 2cffa6259c0c6e97eb7435be18ef1f2788b55a78 /tools/ifdtool.h | |
parent | 9ba8187a84b4a23f43e8aedea0a1db1f769cb3f0 (diff) |
image-host: refactor and protect for very long filenames
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@essensium.com>
Diffstat (limited to 'tools/ifdtool.h')
0 files changed, 0 insertions, 0 deletions