mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-23 07:39:22 +00:00
* grub-core/fs/jfs.c (grub_jfs_find_file): Handle multiple slashes in
filename.
This commit is contained in:
1 parent
38c8ee20ca
commit
57f4a70b0d
2 files changed
+6
-1
No files matched your search
+1
-1
@@ -699,7 +699,7 @@ grub_jfs_find_file (struct grub_jfs_data *data, const char *path,
|
||||
|
||||
name = next;
|
||||
next = grub_strchr (name, '/');
|
||||
if (next)
|
||||
while (next && *next == '/')
|
||||
{
|
||||
next[0] = '\0';
|
||||
next++;
|
||||
|
||||
Reference in new issue
Block a user