* grub-core/normal/term.c (read_terminal_list): Terminate the terminal
name with \0.
This commit is contained in:
parent
8f803a5d1f
commit
c2a51adee8
2 changed files with 6 additions and 0 deletions
|
@ -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>
|
||||
|
||||
* docs/grub-dev.texi: Remove dot from .png.
|
||||
|
|
|
@ -368,6 +368,7 @@ read_terminal_list (const char *prefix)
|
|||
p = grub_strchr (name, ':');
|
||||
if (! p)
|
||||
continue;
|
||||
*p = 0;
|
||||
|
||||
p++;
|
||||
while (*p == ' ' || *p == '\t')
|
||||
|
|
Loading…
Reference in a new issue