Staging
v0.5.1
https://github.com/torvalds/linux
Revision 35b73ceb9a7d10c81bd9e79e8485f7079ef2b40e authored by Bjorn Helgaas on 17 February 2006, 21:59:50 UTC, committed by Linus Torvalds on 17 February 2006, 22:09:22 UTC
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>
1 parent 636f13c
History
Tip revision: 35b73ceb9a7d10c81bd9e79e8485f7079ef2b40e authored by Bjorn Helgaas on 17 February 2006, 21:59:50 UTC
[PATCH] ACPI: fix vendor resource length computation
Tip revision: 35b73ce
File Mode Size
Documentation
arch
block
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
scripts
security
sound
usr
.gitignore -rw-r--r-- 424 bytes
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 87.5 KB
Kbuild -rw-r--r-- 1.2 KB
MAINTAINERS -rw-r--r-- 66.3 KB
Makefile -rw-r--r-- 43.8 KB
README -rw-r--r-- 15.1 KB
REPORTING-BUGS -rw-r--r-- 3.0 KB

README

back to top