[PATCH 1/1] tools: mkimage: fix sfspl_image_extract_subimage()
Simon Glass
sjg at google.com
Tue Oct 24 20:03:19 CEST 2023
On Tue, 24 Oct 2023 at 00:26, Heinrich Schuchardt
<heinrich.schuchardt at canonical.com> wrote:
>
> Do not leak file descriptor if writing fails.
> Correct the error text if opening a file fails.
>
> Addresses-Coverity-ID: 467054 Resource leaks
> Fixes: 64fd30d367a1 ("tools: mkimage: Add StarFive SPL image support")
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> ---
> tools/sfspl.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list