diff options
author | Dan Carpenter <[email protected]> | 2010-04-27 14:01:07 -0700 |
---|---|---|
committer | Len Brown <[email protected]> | 2010-05-06 02:38:24 -0400 |
commit | 18262714ca0fb65c290b8ea1807b2b02bb52d0e3 (patch) | |
tree | f308c99c76d01e4e5ff088099096011e2835b503 /drivers/mtd/lpddr/lpddr_cmds.c | |
parent | a40770a9537c72b555667851845e73484b22ba17 (diff) |
power_meter: acpi_device_class "power_meter_resource" too long
acpi_device_class can only be 19 characters and a NULL terminator.
The current code has a buffer overflow in acpi_power_meter_add():
strcpy(acpi_device_class(device), ACPI_POWER_METER_CLASS);
Signed-off-by: Dan Carpenter <[email protected]>
Cc: Len Brown <[email protected]>
Cc: "Darrick J. Wong" <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Len Brown <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions