Re: [PATCH net-next v3] NFC: s3fwrn5: Replace strcpy() with strscpy()
From: patchwork-bot+netdevbpf
Date: Tue Mar 03 2026 - 20:33:17 EST
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Mon, 2 Mar 2026 11:09:08 +0100 you wrote:
> From: Tomasz Unger <tomasz.unger@xxxxxxxx>
>
> Replace strcpy() with strscpy() which limits the copy to the size of
> the destination buffer. Since fw_info->fw_name is an array with a
> fixed, declared size, the two-argument variant of strscpy() is used -
> the compiler deduces the buffer size automatically.
>
> [...]
Here is the summary with links:
- [net-next,v3] NFC: s3fwrn5: Replace strcpy() with strscpy()
https://git.kernel.org/netdev/net-next/c/8ce185c7e00d
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html