Mathias Krause 27cf929845 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>
2013-02-20 11:24:36 +01:00
..
2012-06-06 11:58:38 +02:00
2011-07-01 10:37:14 +02:00
2012-08-22 09:34:24 +02:00
2011-02-17 14:59:22 +01:00
2012-05-08 14:08:44 +02:00
2012-03-28 18:11:12 +01:00
2013-01-24 17:37:51 +01:00
2012-05-14 11:49:38 +02:00
2013-01-24 16:22:10 +01:00
2012-03-28 18:11:12 +01:00
2012-11-14 15:28:11 -08:00
2011-03-18 10:39:30 +01:00