]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
initramfs: Replace strcpy() with strscpy() in find_link()
authorThorsten Blum <thorsten.blum@linux.dev>
Fri, 12 Sep 2025 06:47:24 +0000 (08:47 +0200)
committerChristian Brauner <brauner@kernel.org>
Mon, 15 Sep 2025 12:52:02 +0000 (14:52 +0200)
commitafd77d2050c35aee0d51ab7fb5b36a0fcabd4eee
treef5f2910b30fbaffe5438a9274285102eafaf1cd9
parentbeb022ef9263d0c5b1a994fa3ab5d3244a01aaa1
initramfs: Replace strcpy() with strscpy() in find_link()

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: Christian Brauner <brauner@kernel.org>
init/initramfs.c