projects
/
platform
/
upstream
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89dc479
)
ldlinux: Initialise 'p' before using it.
author
Matt Fleming
<matt.fleming@intel.com>
Thu, 15 Dec 2011 20:47:00 +0000
(20:47 +0000)
committer
Matt Fleming
<matt.fleming@intel.com>
Tue, 7 Feb 2012 15:31:28 +0000
(15:31 +0000)
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
com32/elflink/ldlinux/ldlinux.c
patch
|
blob
|
history
diff --git
a/com32/elflink/ldlinux/ldlinux.c
b/com32/elflink/ldlinux/ldlinux.c
index
84cb41f
..
5360417
100644
(file)
--- a/
com32/elflink/ldlinux/ldlinux.c
+++ b/
com32/elflink/ldlinux/ldlinux.c
@@
-42,6
+42,7
@@
static void load_kernel(const char *kernel)
if (!allowimplicit)
goto bad_implicit;
+ p = kernel;
/* Find the end of the command */
while (*p && !my_isspace(*p))
p++;