zephyr/subsys
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
..
bluetooth bluetooth: host: Fix NULL pointer dereference in bt_conn_auth_cb_overlay 2023-05-19 09:40:21 +02:00
canbus canbus: isotp: fix single frame state machine stuck issue 2023-04-12 17:45:04 +02:00
console
debug coredump: Intel ADSP memory window backend 2023-05-17 14:10:49 -04:00
demand_paging
dfu dfu: mcuboot_shell: Add command to enter serial recovery 2023-04-24 13:27:53 +02:00
disk subsys/disk: No need of runtime intialization for disk access part 2023-03-13 18:34:40 +00:00
dsp zdsp: add ARC DSPLIB backend for zdsp 2023-02-21 15:06:06 +01:00
emul emul: Migrate all emulation use to use DT_HAS_ 2023-04-28 08:37:33 -05:00
fb fb: cfb: Use TYPE_SECTION macros for cfb_fonts 2023-04-19 17:14:54 +02:00
fs fs: change fatFS initialization to match littleFS. 2023-04-24 13:34:12 +02:00
input input: add a longpress device 2023-03-24 13:48:28 +00:00
ipc ipc: icmsg: Add mutual exclussion access to shmem 2023-04-29 12:24:17 +02:00
jwt
logging logging: change log_output_timestamp_to_us() to take log_timestamp_t 2023-05-08 16:57:02 -04:00
lorawan init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
mgmt mgmt: mcumgr: grp: os_mgmt: Use new error for invalid format 2023-05-18 13:31:19 +02:00
modbus modbus: Remove redundant check 2023-02-06 10:03:20 +01:00
net net: shell: Fix for PS timeout param type. 2023-05-18 15:14:31 -04:00
pm device: use iterable sections 2023-05-12 12:01:10 +02:00
portability
random init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
retention retention: Add optional mutex disablement 2023-04-24 13:27:53 +02:00
rtio rtio: Add support for multishot reads 2023-05-15 10:10:12 -04:00
sd sd: Return ret if error in sdmmc_spi_read_cxd 2023-03-28 09:23:47 +02:00
settings settings: Make settings_subsys_init() thread safe 2023-02-20 09:52:26 +01:00
shell shell: device_service: remove levels command 2023-05-12 12:01:10 +02:00
sip_svc subsystem: sip_svc: Add SDM mailbox specific shell 2023-05-09 08:46:50 -04:00
stats
storage storage: flash_map list partition labels 2023-05-05 10:02:19 +02:00
task_wdt
testsuite tests: ztress: Extend ZTRESS_EXECUTE() description 2023-05-09 08:47:53 -04:00
timing
tracing init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
usb usb: device_next: report medium error on Mass Storage failed writes 2023-05-17 11:45:45 +02:00
zbus
CMakeLists.txt subsystem: sip_svc: Add ARM SiP SVC subsystem 2023-05-09 08:46:50 -04:00
Kconfig subsystem: sip_svc: Add ARM SiP SVC subsystem 2023-05-09 08:46:50 -04:00