Re: [PATCH v2] platform/surface: Replace deprecated strcpy() in surface_button_add()
From: Ilpo Järvinen
Date: Tue Jan 06 2026 - 08:46:28 EST
On Mon, 05 Jan 2026 15:50:46 +0100, Thorsten Blum wrote:
> strcpy() has been deprecated [1] because it performs no bounds checking
> on the destination buffer, which can lead to buffer overflows. Replace
> it with the safer strscpy(). No functional changes.
>
>
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/surface: Replace deprecated strcpy() in surface_button_add()
commit: 1716c1e0860b42980f338b69b974149d035582ca
--
i.