Re: [PATCH net-next v1] NFC: nfcmrvl: Replace strcpy() with strscpy()
From: patchwork-bot+netdevbpf
Date: Tue Mar 03 2026 - 20:35:57 EST
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Sun, 1 Mar 2026 15:43:45 +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_dnld->name is an array, the
> two-argument variant of strscpy() is used - the compiler deduces
> the buffer size automatically.
>
> [...]
Here is the summary with links:
- [net-next,v1] NFC: nfcmrvl: Replace strcpy() with strscpy()
https://git.kernel.org/netdev/net-next/c/c49a9eb650d5
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html