diff options
author | Peichen Huang <PeiChen.Huang@amd.com> | 2025-06-12 16:06:41 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2025-06-30 11:58:29 -0400 |
commit | 158b9201c17fc93ed4253c2f03b77fd2671669a1 (patch) | |
tree | b42091b68c37116343b686a7196358699a4e2bdf /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 38b20968f3d8a603a979ac50ff6cf3553e0b3daf (diff) |
drm/amd/display: add null check
[WHY]
Prevents null pointer dereferences to enhance function robustness
[HOW]
Adds early null check and return false if invalid.
Reviewed-by: Cruise Hung <cruise.hung@amd.com>
Signed-off-by: Peichen Huang <PeiChen.Huang@amd.com>
Signed-off-by: Ray Wu <ray.wu@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions