Thread (9 messages) 9 messages, 3 authors, 2024-08-29

Re: [PATCH net-next v2 0/6] replace deprecated strcpy with strscpy

From: Jakub Kicinski <kuba@kernel.org>
Date: 2024-08-29 19:36:48
Also in: linux-hams, netfilter-devel

On Wed, 28 Aug 2024 20:32:18 +0800 Hongbo Li wrote:
The deprecated helper strcpy() performs no bounds checking on the
destination buffer. This could result in linear overflows beyond
the end of the buffer, leading to all kinds of misbehaviors.
The safe replacement is strscpy() [1].
What's you plan? Are you going to send 200 patches like this
just for networking?

$ git grep strcpy -- net/ drivers/net/ | wc -l
199

Please don't. I'll look thru this series but it feels like such
a waste of time.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help