From fce2099d7dd675505b132148daf0f63820c2f697 Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Fri, 22 Mar 2019 15:06:50 -0700 Subject: [PATCH] fs.mitm: fix error in FsPathUtils::VerifyPath --- stratosphere/ams_mitm/source/fs_mitm/fs_path_utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stratosphere/ams_mitm/source/fs_mitm/fs_path_utils.cpp b/stratosphere/ams_mitm/source/fs_mitm/fs_path_utils.cpp index f2002d0d9..8b9d9bd9f 100644 --- a/stratosphere/ams_mitm/source/fs_mitm/fs_path_utils.cpp +++ b/stratosphere/ams_mitm/source/fs_mitm/fs_path_utils.cpp @@ -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;