Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 27cf9298 authored by Mathias Krause's avatar Mathias Krause Committed by Ingo Molnar
Browse files

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: default avatarPaX Team <pageexec@freemail.hu>
Signed-off-by: default avatarMathias Krause <minipli@googlemail.com>
Acked-by: default avatarDavid 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: default avatarIngo Molnar <mingo@kernel.org>
parent ece8e0b2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment