some bug fixes
This commit is contained in:
parent
836727564e
commit
1a0c3b4809
2 changed files with 4 additions and 4 deletions
|
@ -139,7 +139,7 @@ append_newline (const char *src)
|
|||
grub_size_t len;
|
||||
|
||||
len = grub_strlen (src);
|
||||
line = grub_malloc (len + 1);
|
||||
line = grub_malloc (len + 2);
|
||||
if (!line)
|
||||
return 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue