summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorKaushlendra Kumar <kaushlendra.kumar@intel.com>2025-12-30 18:15:15 +0530
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2026-01-06 10:57:08 +0200
commit050a0aab15da9e1d14cd41073046d12d29f443c6 (patch)
tree06a02a6be00deff65899a2937998a811438e5ca0 /tools/perf/scripts/python/task-analyzer.py
parent751e2ebf29a74c0e46144cbb35e5be478bcd7668 (diff)
downloadlinux-050a0aab15da9e1d14cd41073046d12d29f443c6.tar.gz
linux-050a0aab15da9e1d14cd41073046d12d29f443c6.zip
platform/x86/intel/uncore-freq: Replace sprintf() with scnprintf()
Replace unbounded sprintf() calls with scnprintf() to prevent potential buffer overflows when formatting device names. While the current format strings cannot overflow the buffer, using scnprintf() follows kernel best practices for string formatting. Signed-off-by: Kaushlendra Kumar <kaushlendra.kumar@intel.com> Link: https://patch.msgid.link/20251230124516.229125-2-kaushlendra.kumar@intel.com 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/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions