mbox series

[git,pull] hostfs fix

Message ID 20250131082437.GW1977892@ZenIV (mailing list archive)
State New
Headers show
Series [git,pull] hostfs fix | expand

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git tags/pull-fixes

Message

Al Viro Jan. 31, 2025, 8:24 a.m. UTC
The 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().

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

----------------------------------------------------------------
Al Viro (1):
      hostfs: fix string handling in __dentry_name()

 fs/hostfs/hostfs_kern.c | 27 ++++++---------------------
 1 file changed, 6 insertions(+), 21 deletions(-)

Comments

pr-tracker-bot@kernel.org Jan. 31, 2025, 5:45 p.m. UTC | #1
The pull request you sent on Fri, 31 Jan 2025 08:24:37 +0000:

> git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git tags/pull-fixes

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/b2fde87318f3d77314334b8bfe93846f36ae1708

Thank you!