diff options
| author | Griffin Kroah-Hartman <[email protected]> | 2024-08-15 11:51:00 +0000 |
|---|---|---|
| committer | Luiz Augusto von Dentz <[email protected]> | 2024-08-15 17:09:35 +0000 |
| commit | 538fd3921afac97158d4177139a0ad39f056dbb2 (patch) | |
| tree | b66d1ec4fd24621a870a13d7f3890a8e7c69cc0a /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
| parent | Bluetooth: SMP: Fix assumption of Central always being Initiator (diff) | |
| download | kernel-538fd3921afac97158d4177139a0ad39f056dbb2.tar.gz kernel-538fd3921afac97158d4177139a0ad39f056dbb2.zip | |
Bluetooth: MGMT: Add error handling to pair_device()
hci_conn_params_add() never checks for a NULL value and could lead to a NULL
pointer dereference causing a crash.
Fixed by adding error handling in the function.
Cc: Stable <[email protected]>
Fixes: 5157b8a503fa ("Bluetooth: Fix initializing conn_params in scan phase")
Signed-off-by: Griffin Kroah-Hartman <[email protected]>
Reported-by: Yiwei Zhang <[email protected]>
Signed-off-by: Luiz Augusto von Dentz <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions
