diff options
| author | Thorsten Blum <thorsten.blum@linux.dev> | 2025-10-11 02:47:47 +0200 |
|---|---|---|
| committer | Paul Walmsley <pjw@kernel.org> | 2025-10-27 23:30:01 -0600 |
| commit | 5228ed2c624449d1a53d1c84ba01c021d2df95c0 (patch) | |
| tree | a0af8f79cd806246b11a9a20eedc8d1ea5cc732e /net/unix/af_unix.c | |
| parent | 44aa25c000b41d7afcb030ac1b8a38f06dabef0a (diff) | |
riscv: KGDB: Replace deprecated strcpy in kgdb_arch_handle_qxfer_pkt
strcpy() is deprecated because it can cause a buffer overflow when the
sizes of the source and the destination are not known at compile time.
Use strscpy() instead.
Link: https://github.com/KSPP/linux/issues/88
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Link: https://lore.kernel.org/r/20251011004750.461954-1-thorsten.blum@linux.dev
Signed-off-by: Paul Walmsley <pjw@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
