Re: [PATCH v2] params: Replace deprecated strcpy() with strscpy() and memcpy()

From: Daniel Gomez
Date: Sat Aug 16 2025 - 15:52:33 EST



On Wed, 13 Aug 2025 15:21:59 +0200, Thorsten Blum wrote:
> strcpy() is deprecated; use strscpy() and memcpy() instead.
>
> In param_set_copystring(), we can safely use memcpy() because we already
> know the length of the source string 'val' and that it is guaranteed to
> be NUL-terminated within the first 'kps->maxlen' bytes.
>
>
> [...]

Applied, thanks!

[1/1] params: Replace deprecated strcpy() with strscpy() and memcpy()
commit: 5eb4b9a4cdbb70d70377fe8fb2920b75910e5024

Best regards,
--
Daniel Gomez <da.gomez@xxxxxxxxxxx>