diff options
| author | 2025-12-19 22:32:33 +0100 | |
|---|---|---|
| committer | 2025-12-23 15:23:23 -0600 | |
| commit | e8fb5ec8934312df0a8f28b5514733acdf7ba722 (patch) | |
| tree | ae60e1645d3871242e055382733314fdc2b9fa1a /tools/perf/scripts/python | |
| parent | ecryptfs: Replace strcpy with strscpy in ecryptfs_validate_options (diff) | |
ecryptfs: Replace memcpy + NUL termination in ecryptfs_new_file_context
Use strscpy() to copy the NUL-terminated '->global_default_cipher_name'
to the destination buffer instead of using memcpy() followed by a manual
NUL termination. Remove the now-unused local variable 'cipher_name_len'.
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: Tyler Hicks <code@tyhicks.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
