Re: [PATCH] platform/x86: thinkpad-acpi: replace strcpy with strscpy

From: Ilpo Järvinen
Date: Tue Jan 07 2025 - 13:36:42 EST


On Tue, 07 Jan 2025 11:15:07 +0900, Nitin Joshi wrote:

> strcpy() performs no bounds checking on the destination buffer. This
> could result in linear overflows beyond the end of the buffer, leading
> to all kinds of misbehaviors.[1]
>
> [1]: https://www.kernel.org/doc/html/latest/process/deprecated.html#strcpy
>
>
> [...]


Thank you for your contribution, it has been applied to my local
review-ilpo-next branch. Note it will show up in the public
platform-drivers-x86/review-ilpo-next branch only once I've pushed my
local branch there, which might take a while.

The list of commits applied:
[1/1] platform/x86: thinkpad-acpi: replace strcpy with strscpy
commit: c9a90d746c09e61b1acb829d93f8283e296563fd

--
i.