Re: [PATCH] x86: apic: Fix parsing of lapic cmdline option

From: David Rientjes
Date: Tue Feb 19 2013 - 16:04:51 EST


On Tue, 19 Feb 2013, Mathias Krause wrote:

> Including " lapic " in the kernel cmdline on an x86-64 kernel makes it
> panic while parsing early params -- e.g. with no user visible output.
>
> Fix this bug by ensuring arg is non-NULL before passing it to strncmp().
>
> Signed-off-by: Mathias Krause <minipli@xxxxxxxxxxxxxx>
> Reported-by: PaX Team <pageexec@xxxxxxxxxxx>
> Cc: stable@xxxxxxxxxxxxxxx # v3.8

Acked-by: David Rientjes <rientjes@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/