[U-Boot] [U-Boot,1/1] fs: fat: memory leak in fat_unlink()
Tom Rini
trini at konsulko.com
Sun Oct 7 00:29:22 UTC 2018
On Tue, Oct 02, 2018 at 06:58:00AM +0200, Heinrich Schuchardt wrote:
> Do not leak filename_copy in case of error.
> Catch out of memory when calling strdup.
>
> This addresses Coverity Scan CID 184086.
>
> Reported-by: Tom Rini <trini at konsulko.com>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20181006/b58e7e47/attachment.sig>
More information about the U-Boot
mailing list