* util/getroot.c (grub_find_root_devices_from_mountinfo): Add missing
unescape.
This commit is contained in:
parent
30ac48c452
commit
a414bd1565
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2012-02-27 Richard Laager <rlaager@wiktel.com>
|
||||
|
||||
* util/getroot.c (grub_find_root_devices_from_mountinfo): Add missing
|
||||
unescape.
|
||||
|
||||
2012-02-27 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
Don't use insecure popen in getroot.
|
||||
|
|
|
@ -542,6 +542,8 @@ grub_find_root_devices_from_mountinfo (const char *dir, char **relroot)
|
|||
if (sscanf (sep, "%s %s", entry.fstype, entry.device) != 2)
|
||||
continue;
|
||||
|
||||
unescape (entry.device);
|
||||
|
||||
/* Using the mount IDs, find out where this fits in the list of
|
||||
visible mount entries we've seen so far. There are three
|
||||
interesting cases. Firstly, it may be inserted at the end: this is
|
||||
|
|
Loading…
Reference in a new issue