[PATCH 1/1] tools: mkimage: fix sfspl_image_extract_subimage()

Tom Rini trini at konsulko.com
Mon Oct 30 22:35:51 CET 2023


On Tue, Oct 24, 2023 at 09:26:38AM +0200, Heinrich Schuchardt 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>
> Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20231030/64c5ebb7/attachment.sig>


More information about the U-Boot mailing list