]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
kdb: Replace deprecated strcpy() with memcpy() in kdb_strdup()
authorThorsten Blum <thorsten.blum@linux.dev>
Tue, 19 Aug 2025 09:59:03 +0000 (11:59 +0200)
committerDaniel Thompson (RISCstar) <danielt@kernel.org>
Sat, 20 Sep 2025 18:56:28 +0000 (19:56 +0100)
commitd4be3238d9e5f4841e5385cba3d81268c00d9e7d
treeadbb25737aa2d18ef83bd5e643fc3d4762a20978
parent05c81eddc44733fee60d4c55508c76017995900e
kdb: Replace deprecated strcpy() with memcpy() in kdb_strdup()

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

Link: https://github.com/KSPP/linux/issues/88
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: Daniel Thompson (RISCstar) <danielt@kernel.org>
kernel/debug/kdb/kdb_support.c