diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2024-10-23 16:52:08 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-11-05 10:35:59 -0500 |
commit | f5d873f5825b40d886d03bd2aede91d4cf002434 (patch) | |
tree | 310746d73528deefebf72a59dc83effbc438cea2 /drivers/gpu/drm/amd/amdgpu/amdgpu_job.c | |
parent | 7ba9395430f611cfc101b1c2687732baafa239d5 (diff) |
drm/amdgpu: add missing size check in amdgpu_debugfs_gprwave_read()
Avoid a possible buffer overflow if size is larger than 4K.
Reviewed-by: Yang Wang <kevinyang.wang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_job.c')
0 files changed, 0 insertions, 0 deletions