Commit 35928bc3 authored by Wang Haoran's avatar Wang Haoran Committed by Tony Luck
Browse files

EDAC/{skx_common,i10nm}: Use scnprintf() for safer buffer handling



snprintf() is fragile when its return value will be used to append
additional data to a buffer. Use scnprintf() instead.

Signed-off-by: default avatarWang Haoran <haoranwangsec@gmail.com>
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
Tested-by: default avatarQiuxu Zhuo <qiuxu.zhuo@intel.com>
Reviewed-by: default avatarQiuxu Zhuo <qiuxu.zhuo@intel.com>
Link: https://lore.kernel.org/r/20250715131700.1092720-1-haoranwangsec@gmail.com
parent b1dc7f09
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment