aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/kernel/smpcommon_32.c
diff options
context:
space:
mode:
authorYinghai Lu <Yinghai.Lu@Sun.COM>2007-11-17 16:27:01 +0100
committerThomas Gleixner <tglx@apollo.(none)>2007-11-17 16:27:01 +0100
commit3d9befd2cdf65b1768b0d3078a65cc0ae9aa6412 (patch)
tree54d2e8ad6cab03beb2834a4bbe568739b068db79 /arch/x86/kernel/smpcommon_32.c
parent05dfa35e84331c6921ab394463069e9376f0bd76 (diff)
x86: check boundary in count setup resource
need to check info->res_num less than PCI_BUS_NUM_RESOURCES, so info->bus->resource[info->res_num] = res will not beyond of bus resource array when acpi returns too many resource entries. Signed-off-by: Yinghai Lu <yinghai.lu@sun.com> Cc: Greg Kroah-Hartman <gregkh@suse.de> Cc: Gary Hade <gary.hade@us.ibm.com> Cc: Len Brown <lenb@kernel.org> Cc: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/smpcommon_32.c')
0 files changed, 0 insertions, 0 deletions