[PATCH v2 07/30] mkimage: Correct checking of configuration node

Bin Meng bmeng.cn at gmail.com
Mon May 1 05:43:02 CEST 2023


On Sun, Apr 30, 2023 at 9:30 AM Simon Glass <sjg at chromium.org> wrote:
>
> This returns a negative value on error. Update the logic to detect this
> and avoid a segfault when the node is not found.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> (no changes since v1)
>
>  tools/image-host.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>

Reviewed-by: Bin Meng <bmeng at tinylab.org>


More information about the U-Boot mailing list