From: Dan Carpenter Date: Tue, 27 Apr 2010 21:06:05 +0000 (-0700) Subject: sbshc: acpi_device_class "smbus_host_controller" too long X-Git-Tag: v2.6.34-rc7~9^2^5~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97c227cb51ddcf52c66f7a7fba69237026418b56;p=pandora-kernel.git sbshc: acpi_device_class "smbus_host_controller" too long acpi_device_class can only be 19 characters and a NULL terminator. With the current name we get a buffer overflow in acpi_smbus_hc_add() when we do: strcpy(acpi_device_class(device), ACPI_SMB_HC_CLASS); Signed-off-by: Dan Carpenter Cc: Alexey Starikovskiy Signed-off-by: Andrew Morton Signed-off-by: Len Brown --- Reading git-diff-tree failed