[syslinux] [PATCH] com32/lib/syslinux/load_linux.c: cmdline truncated
H. Peter Anvin
hpa at zytor.com
Wed May 19 10:42:32 PDT 2010
On 05/19/2010 08:40 AM, Bodo Stroesser wrote:
> Hi,
>
> in syslinux-386, I think I've found a problem in
> com32/lib/syslinux/load_linux.c
> that leads to cmdline being truncated unnecessarily when e.g.
> linux.c32 is used.
>
> The patch below fixes the problem for me. But I don't know,
> whether the patch is safe in all cases. I tried to reproduce
> the logic found in runkernel.inc, but I might have missed
> something. So, feel free to tell me what's wrong with it.
>
> Please CC me, as I'm not on the list.
>
No, this is actively wrong.
There is nothing with versions 2.03, .04 or .05 which makes it safe to
use 2048 bytes. I have no idea what SLES11 did, but it sounds like a
local change.
-hpa
More information about the Syslinux
mailing list