[syslinux] bug in ifcpu64 if !pae and only two options?
Luciano Miguel Ferreira Rocha
strange at nsk.no-ip.org
Thu Feb 12 09:37:35 PST 2009
ifcpu64.c has the following comment:
* append boot_kernel_64 [-- boot_kernel_32pae] -- boot_kernel_32
Also in NEWS:
(and optionally 32-bit kernels with or without PAE.)
However, if one doesn't specify boot_kernel_32pae but only boot_kernel_64
and boot_kernel_32, and if the CPU doesn't have support for PAE, args
will be executed unconditionally, with no check for if it is defined.
Maybe replace boot_args(...: args); with:
boot_args(...: args ? args : args);
Or maybe some other construct so that the ?: isn't used so many times in
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: not available
More information about the Syslinux