summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/dptf
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavo@embeddedor.com>2019-04-22 11:39:34 -0500
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-04-23 10:54:26 +0200
commitc7d5f21e8d184f255785e02760139037a97fd796 (patch)
tree8dc935aedba3111a6eab4113dbeee21060cd2d22 /drivers/acpi/dptf
parent603fadf33604a2e170eb833f99f569d3597f1f09 (diff)
downloadlinux-c7d5f21e8d184f255785e02760139037a97fd796.tar.bz2
ACPI: event: replace strcpy() by strscpy()
The strcpy() function is being deprecated. Replace it by the safer strscpy() and fix the following Coverity warnings: "You might overrun the 15-character fixed-size string event->bus_id by copying bus_id without checking the length." "You might overrun the 20-character fixed-size string event->device_class by copying device_class without checking the length." Addresses-Coverity-ID: 139001 ("Copy into fixed size buffer") Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/dptf')
0 files changed, 0 insertions, 0 deletions