diff options
author | Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi> | 2017-09-25 22:06:33 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-10-06 11:28:19 -0400 |
commit | 8df8731474467782c6126f41da87618bcb84852a (patch) | |
tree | c209c844a5b786814b0df4ee14f236844dac1adb /test/fs | |
parent | edce588a4541be6f0dee397f9b501b5569bbb892 (diff) | |
download | u-boot-8df8731474467782c6126f41da87618bcb84852a.tar.gz u-boot-8df8731474467782c6126f41da87618bcb84852a.tar.bz2 u-boot-8df8731474467782c6126f41da87618bcb84852a.zip |
fs/fat: Fix pathnames using '..' that lead to the root directory
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@konsulko.com>
Signed-off-by: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
Diffstat (limited to 'test/fs')
0 files changed, 0 insertions, 0 deletions