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 <tuomas.tynkky...@iki.fi>
Reviewed-by: Tom Rini <tr...@konsulko.com> -- Tom
signature.asc
Description: PGP signature
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot