Re: [PATCH RESEND] ecryptfs: Replace memcpy + manual NUL termination with strscpy

From: Tyler Hicks

Date: Thu Mar 26 2026 - 01:01:41 EST


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