summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@linux.dev>2025-02-26 00:21:27 +0100
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2025-03-03 14:57:32 +0200
commitbaa18b6ed4200aff869e78f2650123572b6a9ad6 (patch)
treec631c32627f9ede4a952816366188ad5b0f2f6a9 /tools/perf/scripts/python/export-to-sqlite.py
parent0b6d8f9d2df78116afb159df05bbccf13a51b758 (diff)
platform/x86: hp-bioscfg: Replace deprecated strncpy() with strscpy()
Since kstrtol() requires a NUL-terminated string as input and strncpy() is deprecated for NUL-terminated destination buffers, use strscpy() instead. Compile-tested only. 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/20250225232126.356274-2-thorsten.blum@linux.dev Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions