* grub-core/fs/jfs.c (grub_jfs_find_file): Handle multiple slashes in
filename.
This commit is contained in:
parent
38c8ee20ca
commit
57f4a70b0d
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2012-05-12 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* grub-core/fs/jfs.c (grub_jfs_find_file): Handle multiple slashes in
|
||||||
|
filename.
|
||||||
|
|
||||||
2012-05-12 Vladimir Serbinenko <phcoder@gmail.com>
|
2012-05-12 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/fs/bfs.c (find_in_b_tree) [MODE_AFS]: Fix handling of exact
|
* grub-core/fs/bfs.c (find_in_b_tree) [MODE_AFS]: Fix handling of exact
|
||||||
|
|
|
@ -699,7 +699,7 @@ grub_jfs_find_file (struct grub_jfs_data *data, const char *path,
|
||||||
|
|
||||||
name = next;
|
name = next;
|
||||||
next = grub_strchr (name, '/');
|
next = grub_strchr (name, '/');
|
||||||
if (next)
|
while (next && *next == '/')
|
||||||
{
|
{
|
||||||
next[0] = '\0';
|
next[0] = '\0';
|
||||||
next++;
|
next++;
|
||||||
|
|
Loading…
Reference in a new issue