diff options
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | 2006-02-17 13:59:50 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-02-17 14:09:22 -0800 |
commit | 35b73ceb9a7d10c81bd9e79e8485f7079ef2b40e (patch) | |
tree | c09177d88d8cbef4c753744c72053a0bd8f35fef /net | |
parent | 636f13c174dd7c84a437d3c3e8fa66f03f7fda63 (diff) |
[PATCH] ACPI: fix vendor resource length computation
acpi_rs_get_list_length() needs to account for all the vendor-defined data
bytes. Failing to include these causes buffers to be sized too small,
which causes slab corruption when we later convert AML to resources and run
off the end of the buffer.
This causes slab corruption on machines that use ACPI vendor-defined
resources. All HP ia64 machines do, and I'm told that some NEC machines
may as well.
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Cc: "Brown, Len" <len.brown@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions