diff options
author | Luben Tuikov <[email protected]> | 2022-02-03 19:48:24 -0500 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2022-02-07 17:59:53 -0500 |
commit | 00b14ce075732edb2935d738de990e9aa96f1e08 (patch) | |
tree | bd3a56dd6d03658ee1cbe806bd3cf5ac91055cca /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | 3f3a24a0a3a58677d2b4f3c442d7a1be05afb123 (diff) |
drm/amdgpu: Prevent random memory access in FRU code
Prevent random memory access in the FRU EEPROM code by passing the size of
the destination buffer to the reading routine, and reading no more than the
size of the buffer.
Cc: Kent Russell <[email protected]>
Cc: Alex Deucher <[email protected]>
Signed-off-by: Luben Tuikov <[email protected]>
Acked-by: Harish Kasiviswanathan <[email protected]>
Reviewed-by: Kent Russell <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions