Re: [PATCH net-next] drivers/net/ethernet/sfc/falcon/ethtool: Use strscpy() to copy strings into arrays
From: Jakub Kicinski
Date: Tue Jun 09 2026 - 21:11:03 EST
On Mon, 8 Jun 2026 10:54:45 +0100 david.laight.linux@xxxxxxxxx wrote:
> From: David Laight <david.laight.linux@xxxxxxxxx>
>
> Replacing strcpy() with strscpy() ensures that overflow of the target
> buffer cannot happen.
all unit_formats are (obviously) compile time constants here
--
pw-bot: reject