Re: [PATCH net-next] net/sunrpc/svcauth_unix: Use strscpy() to copy strings into arrays

From: Chuck Lever

Date: Mon Jun 08 2026 - 20:36:35 EST


From: Chuck Lever <chuck.lever@xxxxxxxxxx>

On Mon, 08 Jun 2026 10:55:00 +0100, david.laight.linux@xxxxxxxxx wrote:
> Replacing strcpy() with strscpy() ensures that overflow of the target
> buffer cannot happen.

Applied to nfsd-testing, thanks!

[1/1] net/sunrpc/svcauth_unix: Use strscpy() to copy strings into arrays
commit: cea9ba4f71e82766d782ed423c99bb12a69bbdf0

--
Chuck Lever <chuck.lever@xxxxxxxxxx>