aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorSebin Sebastian <mailmesebin00@gmail.com>2022-07-30 09:16:58 +0530
committerAlex Deucher <alexander.deucher@amd.com>2022-08-10 15:41:23 -0400
commitad2feebd71ff80532dff75756d1103f056358614 (patch)
tree92a551b7b0db05bc1633a751d73ccde8a3597570 /tools/perf/scripts/python/check-perf-trace.py
parentdrm/amdgpu: Only disable prefer_shadow on hawaii (diff)
downloadlinux-dev-ad2feebd71ff80532dff75756d1103f056358614.tar.xz
linux-dev-ad2feebd71ff80532dff75756d1103f056358614.zip
drm/amdgpu: double free error and freeing uninitialized null pointer
Fix a double free and an uninitialized pointer read error. Both tmp and new are pointing at same address and both are freed which leads to double free. Adding a check to verify if new and tmp are free in the error_free label fixes the double free issue. new is not initialized to null which also leads to a free on an uninitialized pointer. Reviewed-by: André Almeida <andrealmeid@igalia.com> Suggested by: S. Amaranath <Amaranath.Somalapuram@amd.com> Signed-off-by: Sebin Sebastian <mailmesebin00@gmail.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions