26 Jul
2023
26 Jul
'23
1:49 p.m.
On Tue, Jul 25, 2023 at 10:08:38PM +0000, justinstitt@google.com wrote:
`strncpy` is deprecated for use on NUL-terminated destination strings [1].
A suitable replacement is `strscpy` [2].
There are some hopes that someday the `strncpy` api could be ripped out due to the vast number of suitable replacements (strscpy, strscpy_pad, strtomem, strtomem_pad, strlcpy) [1].
Link: https://github.com/KSPP/linux/issues/90 Signed-off-by: Justin Stitt justinstitt@google.com
You've put your signoff after a --- which means it gets deleted when applied, don't do this. The Signoff should be start of the main changelog.