Re: [PATCH v2] RISC-V: cpu: refactor deprecated strncpy

From: patchwork-bot+linux-riscv
Date: Wed Aug 09 2023 - 10:20:30 EST


Hello:

This patch was applied to riscv/linux.git (for-next)
by Palmer Dabbelt <palmer@xxxxxxxxxxxx>:

On Wed, 02 Aug 2023 00:21:58 +0000 you wrote:
> `strncpy` is deprecated for use on NUL-terminated destination strings [1].
>
> Favor not copying strings onto stack and instead use strings directly.
> This avoids hard-coding sizes and buffer lengths all together.
>
> Link: https://github.com/KSPP/linux/issues/90
> Cc: linux-hardening@xxxxxxxxxxxxxxx
> Suggested-by: Kees Cook <keescook@xxxxxxxxxxxx>
> Signed-off-by: Justin Stitt <justinstitt@xxxxxxxxxx>
>
> [...]

Here is the summary with links:
- [v2] RISC-V: cpu: refactor deprecated strncpy
https://git.kernel.org/riscv/c/12d61a1bc28e

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html