diff options
| author | Alex Hung <alex.hung@amd.com> | 2026-07-20 18:32:59 -0600 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-08-06 09:58:35 -0400 |
| commit | 8b87300e1b2a747a608c5036ea57bb9dcd91d82b (patch) | |
| tree | 2f84bd856f93d1c5390aba83657edeadb5dccf88 /tools/perf/scripts/python | |
| parent | df94112ceebfb20bc7f6524769c74d5e6e8dcc2d (diff) | |
drm/amd/display: Fix wb_info leak and NULL deref in writeback
[WHAT]
dc_stream_add_writeback() copies wb_info by value, so free it on all
paths via a single cleanup label. Also bail out early when no pipe_ctx
matches the stream to avoid a NULL pointer dereference.
Assisted-by: Copilot:Claude-Opus-4.8
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Roman Li <roman.li@amd.com>
Tested-by: Dan Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
