summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorMarcelo Moreira <marcelomoreira1905@gmail.com>2025-11-24 20:45:02 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-12-01 13:46:07 +0300
commitfd6f9919efb4c2ba5ff9aa1d97738e08a2275feb (patch)
treec54af9f40b4d2cfaa2620d61bd47608b4a65473c /scripts/gdb/linux/utils.py
parent3e1c43f14521c8a0991811346a313535ec3a3c42 (diff)
downloadlinux-fd6f9919efb4c2ba5ff9aa1d97738e08a2275feb.tar.xz
xfs: Replace strncpy with memcpy
[ Upstream commit 33ddc796ecbd50cd6211aa9e9eddbf4567038b49 ] The changes modernizes the code by aligning it with current kernel best practices. It improves code clarity and consistency, as strncpy is deprecated as explained in Documentation/process/deprecated.rst. This change does not alter the functionality or introduce any behavioral changes. Suggested-by: Dave Chinner <david@fromorbit.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com> Signed-off-by: Marcelo Moreira <marcelomoreira1905@gmail.com> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Carlos Maiolino <cem@kernel.org> Stable-dep-of: 678e1cc2f482 ("xfs: fix out of bounds memory read error in symlink repair") Signed-off-by: Sasha Levin <sashal@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions