mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-22 07:12:39 +00:00
* grub-core/normal/term.c (read_terminal_list): Terminate the terminal
name with \0.
This commit is contained in:
1 parent
8f803a5d1f
commit
c2a51adee8
2 files changed
+6
No files matched your search
@@ -1,3 +1,8 @@
|
|||||||
|
2012-05-23 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* grub-core/normal/term.c (read_terminal_list): Terminate the terminal
|
||||||
|
name with \0.
|
||||||
|
|
||||||
2012-05-22 Jordan Uggla <jordan.uggla@gmail.com>
|
2012-05-22 Jordan Uggla <jordan.uggla@gmail.com>
|
||||||
|
|
||||||
* docs/grub-dev.texi: Remove dot from .png.
|
* docs/grub-dev.texi: Remove dot from .png.
|
||||||
|
|||||||
@@ -368,6 +368,7 @@ read_terminal_list (const char *prefix)
|
|||||||
p = grub_strchr (name, ':');
|
p = grub_strchr (name, ':');
|
||||||
if (! p)
|
if (! p)
|
||||||
continue;
|
continue;
|
||||||
|
*p = 0;
|
||||||
|
|
||||||
p++;
|
p++;
|
||||||
while (*p == ' ' || *p == '\t')
|
while (*p == ' ' || *p == '\t')
|
||||||
|
|||||||
Reference in new issue
Block a user