summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@linux.dev>2026-04-24 09:57:57 +0200
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2026-04-28 19:00:32 +0300
commitb54a4676b3069c9a8cc68e07122e6438491a3353 (patch)
treef4418c783c0c25ccfe632efa99475da376c1fdf0 /tools/perf/scripts/python/stackcollapse.py
parent0b9f109c318a88d40e8a450d56f9bdcece94a327 (diff)
sonypi: use strscpy() in sonypi_acpi_probe
strcpy() has been deprecated¹ because it performs no bounds checking on the destination buffer, which can lead to buffer overflows. While the current code works correctly, replace strcpy() with the safer strscpy() to follow secure coding best practices. ¹ https://www.kernel.org/doc/html/latest/process/deprecated.html#strcpy Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> Acked-by: Arnd Bergmann <arnd@arndb.de> Link: https://patch.msgid.link/20260424075755.305770-3-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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions