Thread (2 messages) 2 messages, 2 authors, 27d ago

Re: [PATCH net-next] drivers/net/ethernet/sfc/falcon/ethtool: Use strscpy() to copy strings into arrays

From: Jakub Kicinski <kuba@kernel.org>
Date: 2026-06-10 01:03:46
Also in: linux-hardening, lkml

On Mon,  8 Jun 2026 10:54:45 +0100 david.laight.linux@gmail.com wrote:
From: David Laight <redacted>

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help