summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/export-to-postgresql-record
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@linux.dev>2025-03-07 12:35:47 +0100
committerPetr Pavlu <petr.pavlu@suse.com>2025-03-10 11:56:03 +0100
commit6380bf8ff90213282a7a7f99697964a9c2bd6899 (patch)
tree4da11d229e256f44768e85be788bf052657fabf5 /tools/perf/scripts/python/bin/export-to-postgresql-record
parent3690f4a86005b4b15fabc606d2bbf39bb6290aff (diff)
downloadlinux-6380bf8ff90213282a7a7f99697964a9c2bd6899.tar.gz
linux-6380bf8ff90213282a7a7f99697964a9c2bd6899.tar.bz2
linux-6380bf8ff90213282a7a7f99697964a9c2bd6899.zip
module: Replace deprecated strncpy() with strscpy()
strncpy() is deprecated for NUL-terminated destination buffers; use strscpy() instead. The destination buffer ownername is only used with "%s" format strings and must therefore be NUL-terminated, but not NUL- padded. No functional changes intended. Link: https://github.com/KSPP/linux/issues/90 Cc: linux-hardening@vger.kernel.org Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> Link: https://lore.kernel.org/r/20250307113546.112237-2-thorsten.blum@linux.dev Signed-off-by: Petr Pavlu <petr.pavlu@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-record')
0 files changed, 0 insertions, 0 deletions