]> Git Repo - linux.git/commit
drm/amdgpu: add missing size check in amdgpu_debugfs_gprwave_read()
authorAlex Deucher <[email protected]>
Wed, 23 Oct 2024 20:52:08 +0000 (16:52 -0400)
committerAlex Deucher <[email protected]>
Tue, 5 Nov 2024 15:35:59 +0000 (10:35 -0500)
commitf5d873f5825b40d886d03bd2aede91d4cf002434
tree310746d73528deefebf72a59dc83effbc438cea2
parent7ba9395430f611cfc101b1c2687732baafa239d5
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 <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
This page took 0.041109 seconds and 4 git commands to generate.