commit | a40770a9537c72b555667851845e73484b22ba17 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <[email protected]> | Tue Apr 27 14:06:05 2010 -0700 |
committer | Len Brown <[email protected]> | Thu May 06 02:38:23 2010 -0400 |
tree | 36988e0ec7845bd560a927bdf3034f8b8888d02f | |
parent | 722154e4cacf015161efe60009ae9be23d492296 [diff] |
acpi_pad: "processor_aggregator" name too long cpi_device_class can only be 19 characters and a NULL terminator. With the current name we get a buffer overflow in acpi_pad_add() strcpy(acpi_device_class(device), ACPI_PROCESSOR_AGGREGATOR_CLASS); [[email protected]: call it acpi_pad, per Shaohua Li] Signed-off-by: Dan Carpenter <[email protected]> Cc: walter harms <[email protected]> Acked-by: Shaohua Li <[email protected]> Cc: Len Brown <[email protected]> Acked-by: Pavel Machek <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Len Brown <[email protected]>