summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@linux.dev>2026-02-27 01:45:42 +0100
committerJakub Kicinski <kuba@kernel.org>2026-02-28 10:06:29 -0800
commitded4a02e7d0497c91ec8665e904c7dc817922993 (patch)
tree22c6587adc97c09cb4c6f543f5c10413060d6dad /include/linux/timerqueue.h
parenteed562b2a6d088d1afa83cd60b2eccaec08e81ca (diff)
ipv6: sit: Replace deprecated strcpy with strscpy
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 'parms->name' in ipip6_tunnel_locate(). Link: https://www.kernel.org/doc/html/latest/process/deprecated.html#strcpy [1] Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> Link: https://patch.msgid.link/20260227004541.798966-3-thorsten.blum@linux.dev Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions