Thread (2 messages) flat view 2 messages, 2 authors, 2021-06-03

Re: [PATCH] net: vlan: Avoid using strncpy()

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-06-03 21:30:14
Also in: linux-hardening, lkml

Hello:

This patch was applied to netdev/net-next.git (refs/heads/master):

On Wed,  2 Jun 2021 13:27:41 -0700 you wrote:
Use strscpy_pad() instead of strncpy() which is considered deprecated:
https://www.kernel.org/doc/html/latest/process/deprecated.html#strncpy-on-nul-terminated-strings

Signed-off-by: Kees Cook <redacted>
---
 net/8021q/vlan.c     | 3 ++-
 net/8021q/vlan.h     | 3 ++-
 net/8021q/vlan_dev.c | 6 +++---
 3 files changed, 7 insertions(+), 5 deletions(-)
Here is the summary with links:
  - net: vlan: Avoid using strncpy()
    https://git.kernel.org/netdev/net-next/c/9c153d388976

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