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 treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
nr_dev.c netrom: Fix data-races around sysctl_netrom_network_ttl_initialiser 2024-03-07 10:36:58 +01:00
nr_in.c netrom: Fix data-races around sysctl_net_busy_read 2024-03-07 10:36:58 +01:00
nr_loopback.c net: Remove redundant if statements 2021-08-05 13:27:50 +01:00
nr_out.c netrom: Fix data-races around sysctl_netrom_network_ttl_initialiser 2024-03-07 10:36:58 +01:00
nr_route.c net/netrom: prefer strscpy over strcpy 2024-08-29 12:33:07 -07:00
nr_subr.c netrom: Fix data-races around sysctl_netrom_network_ttl_initialiser 2024-03-07 10:36:58 +01:00
nr_timer.c netrom: Fix a memory leak in nr_heartbeat_expiry() 2024-06-17 13:06:23 +01:00
sysctl_net_netrom.c net: Remove ctl_table sentinel elements from several networking subsystems 2024-05-03 13:29:42 +01:00