Commit f5d873f5 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>
parent 7ba93954
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment