summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
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 10:40:33 -0400
commit1a58070fda26857a8f6acc0ab05428e60d5c6844 (patch)
tree5472072eaed34e44bc01d689563362fb701ae6ba /include/linux/debugobjects.h
parent1a66ceb98b137d18d303b9889f0e7d8c4db73943 (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>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions