Skip to content
Commit 05f2f274 authored by Tony Luck's avatar Tony Luck
Browse files

[IA64] Avoid array overflow if there are too many cpus in SRAT table



acpi_numa_init() has to parse the whole SRAT table, even if the
kernel wants to limit the number of cpus it will use (because the
ones it is going to use may be described by entries at the end of
the SRAT table).  Avoid overflowing the node_cpuid array.

Reported-by: default avatarYinghai Lu <yinghai@kernel.org>
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent e7d28253
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment