]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
kcsan: test: Replace deprecated strcpy() with strscpy()
authorThorsten Blum <thorsten.blum@linux.dev>
Fri, 15 Aug 2025 21:37:44 +0000 (23:37 +0200)
committerMarco Elver <elver@google.com>
Tue, 19 Aug 2025 10:52:12 +0000 (12:52 +0200)
commit800348aa34b2bc40d558bb17b6719c51fac0b6de
tree2cf49ae455dcc389a9c2a4ff7c6bfbb09bb84e15
parentc17b750b3ad9f45f2b6f7e6f7f4679844244f0b9
kcsan: test: Replace deprecated strcpy() with strscpy()

strcpy() is deprecated; use strscpy() instead.

Link: https://github.com/KSPP/linux/issues/88
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Reviewed-by: Justin Stitt <justinstitt@google.com>
Signed-off-by: Marco Elver <elver@google.com>
kernel/kcsan/kcsan_test.c