diff options
author | Wang Haoran <haoranwangsec@gmail.com> | 2025-07-15 21:17:00 +0800 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2025-07-15 10:06:58 -0700 |
commit | 35928bc38db69a2af26624e35a250c1e0f9a6a3f (patch) | |
tree | f447febc4d143e67988f3630683bcc699b2dd437 /rust/helpers/dma.c | |
parent | b1dc7f097b78eb8d25b071ead2384b07a549692b (diff) |
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: Wang Haoran <haoranwangsec@gmail.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Tested-by: Qiuxu Zhuo <qiuxu.zhuo@intel.com>
Reviewed-by: Qiuxu Zhuo <qiuxu.zhuo@intel.com>
Link: https://lore.kernel.org/r/20250715131700.1092720-1-haoranwangsec@gmail.com
Diffstat (limited to 'rust/helpers/dma.c')
0 files changed, 0 insertions, 0 deletions