From: Randy Dunlap Date: Tue, 11 Apr 2006 05:53:13 +0000 (-0700) Subject: [PATCH] mpparse: prevent table index out-of-bounds X-Git-Tag: v2.6.17-rc2~253 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0ec31ad334fb83e53f2130eacbb44a639f77967;p=pandora-kernel.git [PATCH] mpparse: prevent table index out-of-bounds John Z. Bohach found this bug: If the board has more than 32 PCI busses on it, the mptable bus array will overwrite its bounds for the PCI busses, and stomp on anything that's after it. Prevent possible table overflow and unknown data corruption. Code is in an __init section so it will be discarded after init. Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed