diff options
| author | Thorsten Blum <thorsten.blum@linux.dev> | 2025-12-13 12:04:54 +0100 |
|---|---|---|
| committer | Tyler Hicks <code@tyhicks.com> | 2025-12-23 15:23:23 -0600 |
| commit | 0529a804095b22bf4fe8502d1a1eb09a25a5b954 (patch) | |
| tree | 79118fde9f7d73bdf912e20b1568a778e74b12c2 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | c82f77a4ac9589a5d73d4caaa439fa670c684455 (diff) | |
ecryptfs: Replace strcpy with strscpy in ecryptfs_validate_options
strcpy() has been deprecated [1] because it performs no bounds checking
on the destination buffer, which can lead to buffer overflows. Replace
it with the safer strscpy().
Link: https://www.kernel.org/doc/html/latest/process/deprecated.html#strcpy [1]
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
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
