Al Viro 60a6002432 hostfs: fix string handling in __dentry_name()
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: c278e81b8a02 "hostfs: Remove open coded strcpy()"
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2025-01-11 01:37:44 -05:00
..
2024-07-03 12:23:50 +02:00
2024-07-03 12:23:50 +02:00