diff options
| author | Al Viro <[email protected]> | 2025-01-11 06:37:44 +0000 |
|---|---|---|
| committer | Al Viro <[email protected]> | 2025-01-11 06:37:44 +0000 |
| commit | 60a6002432448bb3f291d80768ae98d62efc9c77 (patch) | |
| tree | c9dc1b5755d0b688b99bb4e8b7552d50b6ea2774 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
| parent | Linux 6.13-rc1 (diff) | |
| download | kernel-60a6002432448bb3f291d80768ae98d62efc9c77.tar.gz kernel-60a6002432448bb3f291d80768ae98d62efc9c77.zip | |
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 <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions
