summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2025-01-11 09:37:44 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2025-01-11 09:37:44 +0300
commit60a6002432448bb3f291d80768ae98d62efc9c77 (patch)
treec9dc1b5755d0b688b99bb4e8b7552d50b6ea2774 /scripts/gdb/linux/utils.py
parent40384c840ea1944d7c5a392e8975ed088ecf0b37 (diff)
downloadlinux-60a6002432448bb3f291d80768ae98d62efc9c77.tar.xz
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>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions