diff options
| author | Jesse Zhang <[email protected]> | 2024-05-09 02:57:04 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-05-23 19:09:15 +0000 |
| commit | 030ffd4d43b433bc6671d9ec34fc12c59220b95d (patch) | |
| tree | 1162f527ff7551379419d8ab6b7b7c84fb8da18d /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
| parent | drm/amd/pm: fix unsigned value asic_type compared against (diff) | |
| download | kernel-030ffd4d43b433bc6671d9ec34fc12c59220b95d.tar.gz kernel-030ffd4d43b433bc6671d9ec34fc12c59220b95d.zip | |
drm/admgpu: fix dereferencing null pointer context
When user space sets an invalid ta type, the pointer context will be empty.
So it need to check the pointer context before using it
Signed-off-by: Jesse Zhang <[email protected]>
Suggested-by: Tim Huang <[email protected]>
Reviewed-by: Tim Huang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions
