[U-Boot] [PATCH] fs: fat: Fix possible double free of fatbuf

Tom Rini trini at konsulko.com
Wed May 29 17:16:53 UTC 2019


On Thu, May 16, 2019 at 09:34:31AM -0500, Andrew F. Davis wrote:

> fat_itr_root() allocates fatbuf so we free it on the exit path, if
> the function fails we should not free it, check the return value
> and skip freeing if the function fails.
> 
> Signed-off-by: Andrew F. Davis <afd at ti.com>

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/20190529/a69554b3/attachment.sig>


More information about the U-Boot mailing list