36 lines
985 B
Diff
36 lines
985 B
Diff
|
References: 242702
|
||
|
|
||
|
Increase command line size to 2048 chars.
|
||
|
|
||
|
---
|
||
|
elilo.c | 2 +-
|
||
|
elilo.h | 2 +-
|
||
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
||
|
|
||
|
Index: b/elilo.h
|
||
|
===================================================================
|
||
|
--- a/elilo.h
|
||
|
+++ b/elilo.h
|
||
|
@@ -57,7 +57,7 @@
|
||
|
#define ELILO_DEFAULT_TIMEOUT ELILO_TIMEOUT_INFINITY
|
||
|
#define ELILO_TIMEOUT_INFINITY (~0UL)
|
||
|
|
||
|
-#define CMDLINE_MAXLEN 512 /* needed by ia32 */
|
||
|
+#define CMDLINE_MAXLEN 2048 /* needed by ia32 */
|
||
|
#define FILENAME_MAXLEN 256
|
||
|
#define MAX_ARGS 256
|
||
|
/* Just pick an arbitrary number that's high enough for now :o) */
|
||
|
Index: b/elilo.c
|
||
|
===================================================================
|
||
|
--- a/elilo.c
|
||
|
+++ b/elilo.c
|
||
|
@@ -87,7 +87,7 @@ do_kernel_load(CHAR16 *kname, kdesc_t *k
|
||
|
INTN
|
||
|
kernel_load(EFI_HANDLE image, CHAR16 *kname, kdesc_t *kd, memdesc_t *imem, memdesc_t *mmem)
|
||
|
{
|
||
|
- CHAR16 kernel[CMDLINE_MAXLEN];
|
||
|
+ CHAR16 kernel[FILENAME_MAXLEN];
|
||
|
|
||
|
/*
|
||
|
* Do the vm image switch here
|