From: Tom Rini Date: Sat, 7 Oct 2017 09:08:42 -0400 Subject: [U-Boot] [U-Boot, v2, 3/4] fs/fat: Fix pathnames using '..' that lead to the root directory In-Reply-To: <20170925190634.21738-3-tuomas.tynkkynen@iki.fi> References: <20170925190634.21738-3-tuomas.tynkkynen@iki.fi> Message-ID: <20171007130842.GA25966@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Signed-off-by: Tuomas Tynkkynen 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: