Skip to content
Commit 5088d626 authored by Hugo Cornelis's avatar Hugo Cornelis Committed by Tom Rini
Browse files

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: default avatarHugo Cornelis <hugo.cornelis@essensium.com>
parent aabfa8da
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment