diff options
author | Mathias Krause <[email protected]> | 2013-02-19 20:47:07 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2013-02-20 11:24:36 +0100 |
commit | 27cf929845b10043f2257693c7d179a9e0b1980e (patch) | |
tree | 2482f628f968f05c18dda63dc09c16825d0d24ab /net/unix/af_unix.c | |
parent | ece8e0b2f9c980e5511fe8db2d68c6f1859b9d83 (diff) |
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 <[email protected]>
Signed-off-by: Mathias Krause <[email protected]>
Acked-by: David Rientjes <[email protected]>
Cc: Suresh Siddha <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Cc: [email protected] # v3.8
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions