Commit 4d75b946 authored by Alex Deucher's avatar Alex Deucher
Browse files

drm/amdgpu: add missing size check in amdgpu_debugfs_gprwave_read()



Avoid a possible buffer overflow if size is larger than 4K.

Reviewed-by: default avatarYang Wang <kevinyang.wang@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
(cherry picked from commit f5d873f5)
Cc: stable@vger.kernel.org
parent f790a2c4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment