projects
/
platform
/
upstream
/
gummiboot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9f0f13
)
properly terminate edited line
author
Kay Sievers
<kay@vrfy.org>
Thu, 28 Jun 2012 20:03:45 +0000
(22:03 +0200)
committer
Kay Sievers
<kay@vrfy.org>
Thu, 28 Jun 2012 20:03:45 +0000
(22:03 +0200)
README
patch
|
blob
|
history
gummiboot.c
patch
|
blob
|
history
diff --git
a/README
b/README
index
831aea9
..
9fa32ec
100644
(file)
--- a/
README
+++ b/
README
@@
-3,7
+3,7
@@
default entry is selected by a configured pattern (glob) or an on-screen
menu.
Operates on the EFI System Partition (ESP) only. Configuration file fragments,
-kernels, initrds, other EFI images need to reside on the E
FS
. Linux kernels
+kernels, initrds, other EFI images need to reside on the E
SP
. Linux kernels
need to be built with CONFIG_EFI_STUB to be able to be directly executed as
an EFI image.
diff --git
a/gummiboot.c
b/gummiboot.c
index
666c760
..
bcaf02b
100644
(file)
--- a/
gummiboot.c
+++ b/
gummiboot.c
@@
-262,6
+262,7
@@
static BOOLEAN edit_line(CHAR16 *line_in, CHAR16 **line_out, UINTN x_max, UINTN
line[i] = line[i-1];
line[first + cursor] = key.UnicodeChar;
len++;
+ line[len] = '\0';
if (cursor+2 < x_max)
cursor++;
else if (first + cursor < len)