[syslinux] [PATCH 01/19] ldlinux: Initialise 'p' before using it.
Matt Fleming
matt at console-pimps.org
Fri Mar 23 11:02:35 PDT 2012
From: Matt Fleming <matt.fleming at intel.com>
Signed-off-by: Matt Fleming <matt.fleming at intel.com>
---
com32/elflink/ldlinux/ldlinux.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/com32/elflink/ldlinux/ldlinux.c b/com32/elflink/ldlinux/ldlinux.c
index 84cb41f..5360417 100644
--- 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++;
--
1.7.4.4
More information about the Syslinux
mailing list