zephyr/subsys/bluetooth
Mateusz Kapala 15bd8b256f bluetooth: host: Fix NULL pointer dereference in bt_conn_auth_cb_overlay
There is a check in bt_conn_auth_cb_overlay function which validates
if content of the callback structure is correct, but there is no
NULL-check on the structure pointer itself, which could result in
NULL pointer dereference.

It should be possible to set the callback structure pointer to `NULL`
using bt_conn_auth_cb_overlay function if the application requires
ex. Just Works pairing for one Bluetooth identity and global
callbacks are configured for advanced pairing scheme (like Passkey
Display) for other Bluetooth identity.

Signed-off-by: Mateusz Kapala <mateusz.kapala@nordicsemi.no>
2023-05-19 09:40:21 +02:00
..
audio Bluetooth: audio: mcs: Offload notifications to system work queue 2023-05-18 13:35:57 +00:00
common Bluetooth: Increase HCI CMD buffer size when ISO Central is used 2023-04-17 10:18:27 +02:00
controller Bluetooth: Controller: Fix Central CIS SN/NESN for skipped events 2023-05-16 13:20:15 +02:00
crypto Bluetooth: Logging: Move all logging symbols together 2023-03-28 10:33:24 +02:00
host bluetooth: host: Fix NULL pointer dereference in bt_conn_auth_cb_overlay 2023-05-19 09:40:21 +02:00
lib Bluetooth: Logging: Move all logging symbols together 2023-03-28 10:33:24 +02:00
mesh bluetooth: mesh: use STRUCT_SECTION_ITERABLE_ARRAY 2023-05-15 18:52:07 +09:00
services init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
shell Bluetooth: Audio: Shell: Move audio defines to audio.h 2023-05-05 16:17:59 +02:00
CMakeLists.txt Bluetooth: Host: Add Encrypted Advertising Data 2023-03-21 13:39:09 +02:00
Kconfig Bluetooth: Add missing dependency for PAST feature 2023-04-04 14:31:17 +02:00
Kconfig.adv Bluetooth: Host: Add support for PAwR Sync 2023-04-26 20:08:16 +02:00
Kconfig.iso
Kconfig.logging Bluetooth: Logging: Make BT_LOG and BT_LOG_LEGACY hidden symbols 2023-04-12 10:23:04 +02:00