Hongbo Li 68016b9972 net: 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>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-08-29 12:33:07 -07:00
..
2024-08-29 12:33:07 -07:00
2024-06-24 16:41:23 -07:00
2024-08-26 09:37:23 -07:00
2024-08-26 09:37:23 -07:00
2024-03-07 21:12:41 -08:00
2024-05-08 10:35:09 +01:00
2024-04-01 10:49:28 +01:00
2024-08-26 09:37:23 -07:00
2024-06-06 11:52:52 +02:00
2024-08-26 09:37:23 -07:00
2022-12-12 15:04:39 -08:00
2024-08-26 09:37:23 -07:00