diff options
author | Randy Dunlap <rdunlap@xenotime.net> | 2006-04-10 22:53:13 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-04-11 06:18:34 -0700 |
commit | c0ec31ad334fb83e53f2130eacbb44a639f77967 (patch) | |
tree | 449070f25aa346dab179325d4eafc305bb6557b8 /net/wanrouter | |
parent | e39632faa0efbddc3aed4f8658f2fa0a8afa2717 (diff) |
[PATCH] mpparse: prevent table index out-of-bounds
John Z. Bohach <jzb@aexorsyst.com> 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 <rdunlap@xenotime.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'net/wanrouter')
0 files changed, 0 insertions, 0 deletions