Files
linux/net
Griffin Kroah-Hartman 538fd3921a 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 <stable@kernel.org>
Fixes: 5157b8a503 ("Bluetooth: Fix initializing conn_params in scan phase")
Signed-off-by: Griffin Kroah-Hartman <griffin@kroah.com>
Reported-by: Yiwei Zhang <zhan4630@purdue.edu>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
2024-08-15 13:09:35 -04:00
..
2024-06-14 19:08:50 -07:00
2024-06-05 10:18:06 +01:00
2024-08-09 21:58:08 -07:00
2024-08-08 08:28:24 -07:00
2023-12-12 14:24:14 +01:00
2024-01-31 16:41:16 -08:00