summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorKaushlendra Kumar <kaushlendra.kumar@intel.com>2025-12-30 15:45:15 +0300
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2026-01-06 11:57:08 +0300
commit050a0aab15da9e1d14cd41073046d12d29f443c6 (patch)
tree06a02a6be00deff65899a2937998a811438e5ca0 /include/linux
parent751e2ebf29a74c0e46144cbb35e5be478bcd7668 (diff)
downloadlinux-050a0aab15da9e1d14cd41073046d12d29f443c6.tar.xz
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 'include/linux')
0 files changed, 0 insertions, 0 deletions