summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@linux.dev>2026-01-11 16:12:58 +0300
committerTyler Hicks <code@tyhicks.com>2026-01-13 05:21:27 +0300
commit99853d9daef240a45e161d0e33487cda4810b999 (patch)
tree381960a1a0c054316048b6c020d574d3477943a1 /include
parent6ba673331340dabcff4a3ca91cc67761ba74c518 (diff)
downloadlinux-99853d9daef240a45e161d0e33487cda4810b999.tar.xz
ecryptfs: Replace memcpy + NUL termination in ecryptfs_copy_filename
Use kmemdup_nul() to copy 'name' instead of using memcpy() followed by a manual NUL termination. Remove the local return variable and the goto label to simplify the code. No functional changes. Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> Acked-by: Tyler Hicks <code@tyhicks.com> Signed-off-by: Tyler Hicks <code@tyhicks.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions