summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorStanley.Yang <Stanley.Yang@amd.com>2026-05-11 16:49:19 +0800
committerAlex Deucher <alexander.deucher@amd.com>2026-05-27 11:59:00 -0400
commit0fb4a8e64a9db74eeda8da7d0b78985392ae483b (patch)
treeb947e22974b6fca469da4f5bb2330908bf171360 /scripts
parentcf4aafdccefccc7f8236fed028d06725246e289e (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