summaryrefslogtreecommitdiffstats
path: root/arch/x86/platform
diff options
context:
space:
mode:
authorMathias Krause2013-02-19 20:47:07 +0100
committerIngo Molnar2013-02-20 11:24:36 +0100
commit27cf929845b10043f2257693c7d179a9e0b1980e (patch)
tree2482f628f968f05c18dda63dc09c16825d0d24ab /arch/x86/platform
parentMerge branch 'for-3.9-async' of git://git.kernel.org/pub/scm/linux/kernel/git... (diff)
downloadkernel-qcow2-linux-27cf929845b10043f2257693c7d179a9e0b1980e.tar.gz
kernel-qcow2-linux-27cf929845b10043f2257693c7d179a9e0b1980e.tar.xz
kernel-qcow2-linux-27cf929845b10043f2257693c7d179a9e0b1980e.zip
x86/apic: Fix parsing of the 'lapic' cmdline option
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(). Reported-by: PaX Team <pageexec@freemail.hu> Signed-off-by: Mathias Krause <minipli@googlemail.com> Acked-by: David Rientjes <rientjes@google.com> Cc: Suresh Siddha <suresh.b.siddha@intel.com> Link: http://lkml.kernel.org/r/1361303227-13174-1-git-send-email-minipli@googlemail.com Cc: stable@vger.kernel.org # v3.8 Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/platform')
0 files changed, 0 insertions, 0 deletions