mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-05 19:51:45 +00:00
fs.mitm: fix error in FsPathUtils::VerifyPath
This commit is contained in:
parent
22d4de27f1
commit
fce2099d7d
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ Result FsPathUtils::VerifyPath(const char *path, size_t max_path_len, size_t max
|
|||
size_t name_len = 0;
|
||||
|
||||
for (size_t path_len = 0; path_len <= max_path_len && name_len <= max_name_len; path_len++) {
|
||||
const char c = *cur;
|
||||
const char c = *(cur++);
|
||||
/* If terminated, we're done. */
|
||||
if (c == 0) {
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue