linux/fs/hostfs
Al Viro 9bbb93a9e8 hostfs: fix string handling in __dentry_name()
[ Upstream commit 60a6002432 ]

strcpy() should not be used with destination potentially overlapping
the source; what's more, strscpy() in there is pointless - we already
know the amount we want to copy; might as well use memcpy().

Fixes: c278e81b8a "hostfs: Remove open coded strcpy()"
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2025-02-08 09:58:09 +01:00
..
hostfs.h hostfs: fix dev_t handling 2024-07-03 12:23:50 +02:00
hostfs_kern.c hostfs: fix string handling in __dentry_name() 2025-02-08 09:58:09 +01:00
hostfs_user.c hostfs: fix dev_t handling 2024-07-03 12:23:50 +02:00
hostfs_user_exp.c um: hostfs: define our own API boundary 2023-04-20 23:04:40 +02:00
Makefile um: hostfs: define our own API boundary 2023-04-20 23:04:40 +02:00