diff options
author | 2024-12-31 14:57:19 +0800 | |
---|---|---|
committer | 2025-01-15 10:34:41 -0500 | |
commit | 3c15082f3567032d196e8760753373332508c2ca (patch) | |
tree | 2da1b94a0af76b3d657cfa61f73e9f7d88d34224 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | Bluetooth: btbcm: Fix NULL deref in btbcm_get_board_name() (diff) | |
download | wireguard-linux-3c15082f3567032d196e8760753373332508c2ca.tar.xz wireguard-linux-3c15082f3567032d196e8760753373332508c2ca.zip |
Bluetooth: btrtl: check for NULL in btrtl_setup_realtek()
If insert an USB dongle which chip is not maintained in ic_id_table, it
will hit the NULL point accessed. Add a null point check to avoid the
Kernel Oops.
Fixes: b39910bb54d9 ("Bluetooth: Populate hci_set_hw_info for Intel and Realtek")
Reviewed-by: Alex Lu <alex_lu@realsil.com.cn>
Signed-off-by: Max Chou <max.chou@realtek.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions