diff options
author | 2022-07-30 09:16:58 +0530 | |
---|---|---|
committer | 2022-08-10 15:41:23 -0400 | |
commit | ad2feebd71ff80532dff75756d1103f056358614 (patch) | |
tree | 92a551b7b0db05bc1633a751d73ccde8a3597570 /tools/perf/scripts/python/check-perf-trace.py | |
parent | drm/amdgpu: Only disable prefer_shadow on hawaii (diff) | |
download | linux-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