mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-22 15:22:39 +00:00
* grub-core/fs/cpio.c (handle_symlink): Fix a bug.
This commit is contained in:
1 parent
076e7c0fda
commit
df71143ea1
2 files changed
+5
-1
No files matched your search
@@ -1,3 +1,7 @@
|
||||
2012-01-29 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/fs/cpio.c (handle_symlink): Fix a bug.
|
||||
|
||||
2012-01-29 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
Merge common RAID and LVM logic to an abstract diskfilter.
|
||||
|
||||
+1
-1
@@ -470,7 +470,7 @@ handle_symlink (struct grub_cpio_data *data,
|
||||
if (prefixlen)
|
||||
{
|
||||
grub_memcpy (target, *name, prefixlen);
|
||||
target[prefixlen] = '/';
|
||||
target[prefixlen-1] = '/';
|
||||
}
|
||||
ptr = target + prefixlen + size;
|
||||
ptr = grub_stpcpy (ptr, rest);
|
||||
|
||||
Reference in new issue
Block a user