On Sun, Oct 01, 2017 at 02:25:22AM +0300, Tuomas Tynkkynen wrote:
> Check malloc() return values and properly unwind on errors so
> memory allocated for fat_itr structures get freed properly.
>
> Also fixes a leak of fsdata.fatbuf in fat_size().
>
> Fixes: 2460098cffacd1 ("fs/fat: Reduce stack usage")
> Reported-by: Coverity (CID: 167225, 167233, 167234)
> Signed-off-by: Tuomas Tynkkynen <[email protected]>
> Reviewed-by: Tom Rini <[email protected]>Applied to u-boot/master, thanks! -- Tom
signature.asc
Description: PGP signature
_______________________________________________ U-Boot mailing list [email protected] https://lists.denx.de/listinfo/u-boot

