Commit f2176a0
Bluetooth: Add check for mgmt_alloc_skb() in mgmt_remote_name()
Add check for the return value of mgmt_alloc_skb() in
mgmt_remote_name() to prevent null pointer dereference.
Fixes: ba17bb6 ("Bluetooth: Fix skb allocation in mgmt_remote_name() & mgmt_device_connected()")
Cc: stable@vger.kernel.org
Signed-off-by: Haoxiang Li <haoxiang_li2024@163.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>1 parent cbf85b9 commit f2176a0
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10413 | 10413 | | |
10414 | 10414 | | |
10415 | 10415 | | |
| 10416 | + | |
| 10417 | + | |
10416 | 10418 | | |
10417 | 10419 | | |
10418 | 10420 | | |
| |||
0 commit comments