[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250131082437.GW1977892@ZenIV>
Date: Fri, 31 Jan 2025 08:24:37 +0000
From: Al Viro <viro@...iv.linux.org.uk>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org
Subject: [git pull] hostfs fix
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@...iv.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(-)
Powered by blists - more mailing lists