* grub-core/normal/term.c (read_terminal_list): Terminate the terminal

name with \0.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-05-23 09:09:36 +02:00
parent 8f803a5d1f
commit c2a51adee8
2 changed files with 6 additions and 0 deletions

View File

@ -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.

View File

@ -368,6 +368,7 @@ read_terminal_list (const char *prefix)
p = grub_strchr (name, ':');
if (! p)
continue;
*p = 0;
p++;
while (*p == ' ' || *p == '\t')