diff options
| author | Haohui Mai <[email protected]> | 2022-04-25 08:56:05 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2022-04-26 15:44:09 +0000 |
| commit | 428f273cbb3f1349d27716bce0d7bd4dbfb4837f (patch) | |
| tree | ba017013f67ce2a8b471e2306b707649eb4d23ef /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
| parent | drm/amdgpu/sdma: Remove redundant lower_32_bits() calls when settings SDMA do... (diff) | |
| download | kernel-428f273cbb3f1349d27716bce0d7bd4dbfb4837f.tar.gz kernel-428f273cbb3f1349d27716bce0d7bd4dbfb4837f.zip | |
drm/amdgpu: Fix out-of-bound access for gfx_v10_0_ring_test_ib()
The gfx_v10_0_ring_test_ib() function uses 20 bytes instead of 16
bytes during the test. The patch sets the size of the allocation to be
4-byte larger to match the actual usage.
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Haohui Mai <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions
