diff options
author | Sung Lee <Sung.Lee@amd.com> | 2025-01-16 09:45:54 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2025-02-12 21:02:59 -0500 |
commit | c87d202692de34ee71d1fd4679a549a29095658a (patch) | |
tree | 4ed1f010fa3c36a73b3ac3deadb4c1d707a79457 /drivers/bluetooth/btbcm.c | |
parent | 871f65a59f3cca534e54ab0efe9d976cdd05ac9a (diff) |
drm/amd/display: Guard Possible Null Pointer Dereference
[WHY]
In some situations, dc->res_pool may be null.
[HOW]
Check if pointer is null before dereference.
Reviewed-by: Joshua Aberback <joshua.aberback@amd.com>
Signed-off-by: Sung Lee <Sung.Lee@amd.com>
Signed-off-by: Zaeem Mohamed <zaeem.mohamed@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/bluetooth/btbcm.c')
0 files changed, 0 insertions, 0 deletions