summaryrefslogtreecommitdiff
path: root/tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@linux.dev>2025-12-13 12:04:50 +0100
committerTyler Hicks <code@tyhicks.com>2025-12-23 15:23:23 -0600
commit3bdc6cace25c3c7adfc073bb763bb52c9d1282c8 (patch)
treec089f6bc2dacafa487c7664d8d4f62ea670ed319 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
parent5c31c9bf9e2ff0d6c065ff7f2ccf8a1e95ddbb49 (diff)
ecryptfs: Replace strcpy with strscpy in ecryptfs_set_default_crypt_stat_vals
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