diff options
| author | Thorsten Blum <thorsten.blum@linux.dev> | 2026-01-11 14:12:58 +0100 |
|---|---|---|
| committer | Tyler Hicks <code@tyhicks.com> | 2026-01-12 20:21:27 -0600 |
| commit | 99853d9daef240a45e161d0e33487cda4810b999 (patch) | |
| tree | 381960a1a0c054316048b6c020d574d3477943a1 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | 6ba673331340dabcff4a3ca91cc67761ba74c518 (diff) | |
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 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
