diff options
| author | Stanley.Yang <Stanley.Yang@amd.com> | 2026-05-11 16:49:19 +0800 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-05-27 11:59:00 -0400 |
| commit | 0fb4a8e64a9db74eeda8da7d0b78985392ae483b (patch) | |
| tree | b947e22974b6fca469da4f5bb2330908bf171360 /scripts | |
| parent | cf4aafdccefccc7f8236fed028d06725246e289e (diff) | |
drm/amdgpu: fix potential overflow in fs_info.debugfs_name
Use snprintf() with sizeof(fs_info.debugfs_name) so a long RAS block
name plus the "_err_inject" suffix cannot overflow the 32-byte buffer.
Signed-off-by: Stanley.Yang <Stanley.Yang@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 1a58070fda26857a8f6acc0ab05428e60d5c6844)
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
