linux/net/netrom
Hongbo Li 597be7bd17 net/netrom: prefer strscpy over strcpy
The deprecated helper strcpy() performs no bounds checking on the
destination buffer. This could result in linear overflows beyond
the end of the buffer, leading to all kinds of misbehaviors.
The safe replacement is strscpy() [1].

Link: https://www.kernel.org/doc/html/latest/process/deprecated.html#strcpy [1]

Signed-off-by: Hongbo Li <lihongbo22@huawei.com>
Link: https://patch.msgid.link/20240828123224.3697672-4-lihongbo22@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-08-29 12:33:07 -07:00
..
af_netrom.c net: change proto and proto_ops accept type 2024-05-13 18:19:09 -06:00
Makefile
nr_dev.c
nr_in.c
nr_loopback.c
nr_out.c
nr_route.c net/netrom: prefer strscpy over strcpy 2024-08-29 12:33:07 -07:00
nr_subr.c
nr_timer.c netrom: Fix a memory leak in nr_heartbeat_expiry() 2024-06-17 13:06:23 +01:00
sysctl_net_netrom.c