summaryrefslogtreecommitdiff
path: root/tools/testing/vma/include/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@linux.dev>2026-02-23 08:41:34 +0100
committerPaolo Abeni <pabeni@redhat.com>2026-02-24 13:38:33 +0100
commite5a80f5e67ce95c41615471d89ae7412b298cd85 (patch)
tree3e0431cb64616a3b2197e90ae5cd881fc8c269c4 /tools/testing/vma/include/git@git.tavy.me:linux.git
parent8ac768bb198ccdb1b6dde4bb3616a115642de65c (diff)
net: l2tp_eth: Replace deprecated strcpy with strscpy in l2tp_eth_create
strcpy() has been deprecated [1] because it performs no bounds checking on the destination buffer, which can lead to buffer overflows. Replace it with the safer strscpy(). Use the two-argument version of strscpy() to copy 'cfg->ifname'. Link: https://www.kernel.org/doc/html/latest/process/deprecated.html#strcpy [1] Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/20260223074137.321862-1-thorsten.blum@linux.dev Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/testing/vma/include/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions