Re: [PATCH] ACPI: event: replace strcpy() by strscpy()

2019-05-01 Thread Rafael J. Wysocki
On Monday, April 22, 2019 6:39:34 PM CEST Gustavo A. R. Silva wrote: > 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 checkin

[PATCH] ACPI: event: replace strcpy() by strscpy()

2019-04-22 Thread Gustavo A. R. Silva
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->de