diff options
| author | David Laight <david.laight.linux@gmail.com> | 2026-06-08 10:54:54 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-07-10 14:43:24 +0200 |
| commit | 383f139f191e4d12343f7153880495c46042dd37 (patch) | |
| tree | b119b28e19680afe61d618cf914953fd738b6734 /include/linux/stackprotector.h | |
| parent | 970ede67de0e3f6a1e707ec99ae49d80bf3f2966 (diff) | |
drivers/tty/serial/kgdboc: Use strscpy() to copy strings into arrays
Replacing strcpy() with strscpy() ensures that overflow of the target
buffer cannot happen.
Signed-off-by: David Laight <david.laight.linux@gmail.com>
Reviewed-by: Daniel Thompson (RISCstar) <danielt@kernel.org>
Link: https://patch.msgid.link/20260608095523.2606-10-david.laight.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions
