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

Tom Rini trini at konsulko.com
Sat Oct 7 13:08:42 UTC 2017


On Mon, Sep 25, 2017 at 10:06:33PM +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.
> 
> Fixes: 8eafae209c35 ("fat/fs: convert to directory iterators")
> Reviewed-by: Tom Rini <trini at konsulko.com>
> Signed-off-by: Tuomas Tynkkynen <tuomas.tynkkynen at iki.fi>

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/20171007/7f85cf9d/attachment.sig>


More information about the U-Boot mailing list