summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@linux.dev>2026-04-10 11:16:36 +0200
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2026-04-28 16:16:29 +0300
commit0b9f109c318a88d40e8a450d56f9bdcece94a327 (patch)
tree87746fd6a3567c5042593804f1ec623c2a409f70 /tools/perf/scripts/python/stackcollapse.py
parent9f82bbcac0a0d7727d7cff84ef517bf015752c9d (diff)
platform/x86: dell_rbu: use strscpy in image_type_write
strcpy() has been deprecated [1] 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. Link: https://www.kernel.org/doc/html/latest/process/deprecated.html#strcpy [1] Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> Link: https://patch.msgid.link/20260410091633.2822-6-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