android_kernel_xiaomi_sm8350/drivers/acpi
Bjorn Helgaas 35b73ceb9a [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>
2006-02-17 14:09:22 -08:00
..
dispatcher [ACPI] ACPICA 20060127 2006-01-31 03:25:09 -05:00
events [ACPI] ACPICA 20060127 2006-01-31 03:25:09 -05:00
executer [ACPI] ACPICA 20060127 2006-01-31 03:25:09 -05:00
hardware [ACPI] ACPICA 20060127 2006-01-31 03:25:09 -05:00
namespace [ACPI] ACPICA 20060127 2006-01-31 03:25:09 -05:00
parser [ACPI] ACPICA 20060127 2006-01-31 03:25:09 -05:00
resources [PATCH] ACPI: fix vendor resource length computation 2006-02-17 14:09:22 -08:00
sleep
tables [ACPI] ACPICA 20060127 2006-01-31 03:25:09 -05:00
utilities [ACPI] ACPICA 20060127 2006-01-31 03:25:09 -05:00
ac.c
acpi_memhotplug.c [ACPI] acpi_memhotplug.c build fix 2006-01-07 04:43:40 -05:00
asus_acpi.c [ACPI_ASUS] fix asus module param description 2006-01-04 00:59:11 -05:00
battery.c
blacklist.c
bus.c
button.c
container.c [PATCH] driver core: replace "hotplug" by "uevent" 2006-01-04 16:18:08 -08:00
debug.c
ec.c [ACPI] merge 3549 4320 4485 4588 4980 5483 5651 acpica asus fops pnpacpi branches into release 2006-01-24 17:52:48 -05:00
event.c
fan.c
glue.c
hotkey.c
ibm_acpi.c
Kconfig [ACPI] merge 3549 4320 4485 4588 4980 5483 5651 acpica asus fops pnpacpi branches into release 2006-01-24 17:52:48 -05:00
Makefile
motherboard.c
numa.c
osl.c [ACPI] ACPICA 20060127 2006-01-31 03:25:09 -05:00
pci_bind.c
pci_irq.c [ACPI] merge 3549 4320 4485 4588 4980 5483 5651 acpica asus fops pnpacpi branches into release 2006-01-24 17:52:48 -05:00
pci_link.c [ACPI] remove "Resource isn't an IRQ" warning 2006-01-26 17:23:38 -05:00
pci_root.c
power.c
processor_core.c [ACPI] merge 3549 4320 4485 4588 4980 5483 5651 acpica asus fops pnpacpi branches into release 2006-01-24 17:52:48 -05:00
processor_idle.c [PATCH] x86_64: data/functions wrongly marked as __init with cpu hotplug. 2006-02-04 16:43:14 -08:00
processor_perflib.c [ACPI] merge 3549 4320 4485 4588 4980 5483 5651 acpica asus fops pnpacpi branches into release 2006-01-24 17:52:48 -05:00
processor_thermal.c [ACPI] make two processor functions static 2006-01-08 03:05:59 -05:00
processor_throttling.c [ACPI] make two processor functions static 2006-01-08 03:05:59 -05:00
scan.c [ACPI] merge 3549 4320 4485 4588 4980 5483 5651 acpica asus fops pnpacpi branches into release 2006-01-24 17:52:48 -05:00
system.c
tables.c [ACPI] reduce kernel size: move 5BK .bss to 2.5KB .init.data 2005-12-30 02:44:59 -05:00
thermal.c
toshiba_acpi.c
utils.c
video.c [ACPI] move some run-time structure inits to compile time 2006-01-07 04:19:08 -05:00