hostfs fix
Al Viro
maintainerThe following changes since commit 40384c840ea1944d7c5a392e8975ed088ecf0b37:
Linux 6.13-rc1 (2024-12-01 14:28:56 -0800)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git tags/pull-fixes
for you to fetch changes up to 60a6002432448bb3f291d80768ae98d62efc9c77:
hostfs: fix string handling in __dentry_name() (2025-01-11 01:37:44 -0500)
----------------------------------------------------------------
hostfs __dentry_name() fix
use of strcpy() with overlapping source and destination is a UB; original loop hadn't been. More to the point, the whole thing is much easier done with memcpy() + memmove().
----------------------------------------------------------------
Al Viro (1):
hostfs: fix string handling in __dentry_name()
fs/hostfs/hostfs_kern.c | 27 ++++++--------------------- 1 file changed, 6 insertions(+), 21 deletions(-)
The pull request you sent on Fri, 31 Jan 2025 08:24:37 +0000:
The pull request you sent on Fri, 31 Jan 2025 08:24:37 +0000:
Quoted 1 line
git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.gittags/pull-fixes
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/b2fde87318f3d77314334b8bfe93846f36ae1708
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html