Re: [PATCH RESEND] ecryptfs: Replace memcpy + manual NUL termination with strscpy
Tyler Hicks <[email protected]> Thu, 26 Mar 2026 00:01:26 -0500
| Newsgroups | org.kernel.vger.ecryptfs,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <177450083115.1953525.17155877442789981964.b4-ty@b4> |
On Thu, 05 Feb 2026 13:51:00 +0100, Thorsten Blum wrote:
> Use strscpy() to copy the NUL-terminated '->token.password.signature'
> and 'sig' to the destination buffers instead of using memcpy() followed
> by manual NUL terminations.
Thank you! This has been applied to the next branch of the tyhicks/ecryptfs.git tree.
You can find a direct link below but please be aware that the commit hash is
unstable and, therefore, the URL may not be valid in the future.
[1/1] ecryptfs: Replace memcpy + manual NUL termination with strscpy
https://git.kernel.org/tyhicks/ecryptfs/c/f7a1c0283f135833db164cc0fac8d422fed2079e
Tyler