[U-Boot] [PATCH] fat: FAT filesystem premature release of info struct.
Tom Rini
trini at konsulko.com
Tue Aug 27 00:18:20 UTC 2019
On Tue, Aug 20, 2019 at 10:18:30PM +0200, Martin Vystrčil wrote:
> File was found on specified location. Info about file was read,
> but then immediately destroyed using 'free' call. As a result
> file size was set to 0, hence fat process didn't read any data.
>
> Premature 'free' call removed. Resources are freed right before
> function return. File is read correctly.
>
> Signed-off-by: Martin Vystrcil <martin.vystrcil at m-linux.cz>
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/20190826/d9ee16fb/attachment.sig>
More information about the U-Boot
mailing list