[U-Boot] [PATCH 2/3] fs/fat: Fix pathnames using '..' that lead to the root directory

Tom Rini trini at konsulko.com
Sun Sep 24 21:36:44 UTC 2017


On Mon, Sep 25, 2017 at 12:07:35AM +0300, Tuomas Tynkkynen wrote:

> If we end up back in the root directory via a '..' directory entry, set
> itr->is_root accordingly. Failing to do that gives spews like
> "Invalid FAT entry" and being unable to access directory entries located
> past the first cluster of the root directory on FAT12/FAT16.
> 
> Fixes: 8eafae209c35 ("fat/fs: convert to directory iterators")
> Signed-off-by: Tuomas Tynkkynen <tuomas.tynkkynen at iki.fi>

Reviewed-by: Tom Rini <trini at konsulko.com>

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170924/f6cb0887/attachment.sig>


More information about the U-Boot mailing list