Re: [PATCH] nfc: pn544: i2c: Replace strcpy() with strscpy()
From: Jakub Kicinski
Date: Thu Feb 19 2026 - 14:37:34 EST
On Thu, 19 Feb 2026 20:24:16 +0100 tomasz.unger@xxxxxxxx wrote:
> strcpy() does not limit the number of bytes copied which can lead to
> buffer overflow. Replace with strscpy() which is safer as it limits
> the copy to the size of the destination buffer.
## Form letter - net-next-closed
We have already submitted our pull request with net-next material for v7.0,
and therefore net-next is closed for new drivers, features, code refactoring
and optimizations. We are currently accepting bug fixes only.
Please repost when net-next reopens after Feb 23rd.
RFC patches sent for review only are obviously welcome at any time.
See: https://www.kernel.org/doc/html/next/process/maintainer-netdev.html#development-cycle
--
pw-bot: defer
pv-bot: closed