Re: [PATCH net-next v4] NFC: pn544: i2c: Replace strcpy() with strscpy()
From: patchwork-bot+netdevbpf
Date: Tue Mar 03 2026 - 20:36:36 EST
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Sun, 1 Mar 2026 13:12:54 +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 phy->firmware_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,v4] NFC: pn544: i2c: Replace strcpy() with strscpy()
https://git.kernel.org/netdev/net-next/c/e63f5918adb8
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html