diff options
author | Haohui Mai <ricetons@gmail.com> | 2022-04-25 11:56:05 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-04-26 18:44:09 +0300 |
commit | 428f273cbb3f1349d27716bce0d7bd4dbfb4837f (patch) | |
tree | ba017013f67ce2a8b471e2306b707649eb4d23ef /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | ca5d251b3b6e3aabf2d1bb7261c6b8e156b7ee16 (diff) | |
download | linux-428f273cbb3f1349d27716bce0d7bd4dbfb4837f.tar.xz |
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 <christian.koenig@amd.com>
Signed-off-by: Haohui Mai <ricetons@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions