]> git.ipfire.org Git - thirdparty/linux.git/commit
orangefs: Replace deprecated strcpy with strscpy
authorThorsten Blum <thorsten.blum@linux.dev>
Mon, 22 Dec 2025 10:00:57 +0000 (11:00 +0100)
committerMike Marshall <hubcap@omnibond.com>
Mon, 19 Jan 2026 21:00:51 +0000 (16:00 -0500)
commit0eb1927502e870e4b8beaab403775056a8f4f0db
tree425513cf893b671325107846ead86b4ec97458db
parent24d479d26b25bce5faea3ddd9fa8f3a6c3129ea7
orangefs: Replace deprecated strcpy with strscpy

strcpy() has been deprecated [1] because it performs no bounds checking
on the destination buffer, which can lead to buffer overflows. Replace
it with the safer strscpy().  No functional changes.

Link: https://www.kernel.org/doc/html/latest/process/deprecated.html#strcpy
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
fs/orangefs/xattr.c