Re: [PATCH v3] platform/x86: dell-wmi-sysman: replace deprecated strlcpy with strscpy
From: Ilpo Järvinen
Date: Wed Nov 25 2026 - 18:28:04 EST
On Sat, 21 Nov 2026 10:16:07 +1100, Ava Green wrote:
> The kernel has deprecated the use of strlcpy wrappers in favor of
> the safer strscpy variants. Replace the internal driver helper
> function strlcpy_attr() with strscpy_attr() across all
> dell-wmi-sysman attribute parser files.
>
> Ensure explicit destination buffer sizes are passed using sizeof()
> to prevent potential out-of-bounds array writes during ACPI object
> evaluations.
>
> [...]
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.
FYI [if applicable to your patch], as per Linus' policy change, also
fixes are mostly routed through for-next unless the fix is for a
commit introduced in the most recent cycle or is clearly a regression
fix.
The list of commits applied:
[1/1] platform/x86: dell-wmi-sysman: replace deprecated strlcpy with strscpy
commit: 4e8f3a0472af63b41d1e19a62d5f42e19efa4f1d
--
i.