On 2026-10-11T15:21:13, Aristo Chen <[email protected]> wrote:
> test: boot: check the length of the external data properties
>
> Build a minimal FIT with libfdt and check that
> fit_image_get_data_offset(), fit_image_get_data_position() and
> fit_image_get_data_size() return -EINVAL for an empty property and for
> one of two cells instead of reading them, while a single cell is still
> read and a missing property still gives -ENOENT.
>
> Signed-off-by: Aristo Chen <[email protected]>
>
> test/boot/image.c | 44 ++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 44 insertions(+)

Reviewed-by: Simon Glass <[email protected]>

Reply via email to