summaryrefslogtreecommitdiffstats
path: root/ipc/mq_sysctl.c
diff options
context:
space:
mode:
authorMichael Straube <straube.linux@gmail.com>2023-10-23 11:00:01 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-10-25 12:57:46 +0200
commite26511f672432417cc1286e00bc65ab82012f5af (patch)
tree0a2158ee7289dde3da02bb6f41a1057bb8398f43 /ipc/mq_sysctl.c
parent5e3441ebe93c82f85e582eed8e34eb7eee541e7e (diff)
downloadlinux-stable-e26511f672432417cc1286e00bc65ab82012f5af.tar.gz
linux-stable-e26511f672432417cc1286e00bc65ab82012f5af.tar.bz2
linux-stable-e26511f672432417cc1286e00bc65ab82012f5af.zip
staging: vme_user: prefer strscpy over strcpy
Using strcpy has potential for buffer overflows. It should be replaced with strscpy where possible. In this case the return value of strcpy is not used, so we can safely replace it with strscpy. Signed-off-by: Michael Straube <straube.linux@gmail.com> Link: https://lore.kernel.org/r/20231023090001.7273-1-straube.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'ipc/mq_sysctl.c')
0 files changed, 0 insertions, 0 deletions