Thread (6 messages) 6 messages, 5 authors, 2025-09-02

Re: [PATCH v2] net/smc: Replace use of strncpy on NUL-terminated string with strscpy

From: patchwork-bot+netdevbpf@kernel.org
Date: 2025-09-02 23:00:25
Also in: linux-kernel-mentees, linux-rdma, linux-s390, lkml

Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski [off-list ref]:

On Sun, 31 Aug 2025 20:04:59 -0700 you wrote:
strncpy is deprecated for use on NUL-terminated strings, as indicated in
Documentation/process/deprecated.rst. strncpy NUL-pads the destination
buffer and doesn't guarantee the destination buffer will be NUL
terminated.

Signed-off-by: James Flowers <redacted>

[...]
Here is the summary with links:
  - [v2] net/smc: Replace use of strncpy on NUL-terminated string with strscpy
    https://git.kernel.org/netdev/net-next/c/d250f14f5f07

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help