aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPhilip Yang <[email protected]>2024-07-14 11:11:05 -0400
committerAlex Deucher <[email protected]>2024-07-23 17:34:44 -0400
commitc86ad39140bbcb9dc75a10046c2221f657e8083b (patch)
tree01bdda15e2cff584d8e8d2778e0e312685aa3a56 /tools/perf/scripts/python
parentf9e292cbba21e79abea7315b41a52c36ea2b6980 (diff)
drm/amdkfd: amdkfd_free_gtt_mem clear the correct pointer
Pass pointer reference to amdgpu_bo_unref to clear the correct pointer, otherwise amdgpu_bo_unref clear the local variable, the original pointer not set to NULL, this could cause use-after-free bug. Signed-off-by: Philip Yang <[email protected]> Reviewed-by: Felix Kuehling <[email protected]> Acked-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions