zephyr/subsys/bluetooth/host
Emil Gydesen 4e4971b25d Bluetooth: GATT: Fix issue with 0/NULL for bt_gatt_attr_read
The bt_gatt_attr_read function did not properly handle cases
where value is NULL and/or value_len is 0, or bad mixes of the
two.

The important part is here is that we do not perform the pointer
arithmetic on NULL and/or call memcpy with a NULL src with a
non-0 length.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2024-09-23 18:09:13 -04:00
..
classic bluetooth: AVDTP: Check buffer len before pulling data 2024-09-09 13:54:56 -04:00
addr_internal.h
addr.c
adv.c bluetooth: host: fix formatter warnings 2024-09-23 10:01:34 +02:00
adv.h
aes_ccm.c
att_internal.h
att.c style: subsys: comply with MISRA C:2012 Rule 15.6 2024-09-11 07:40:35 -04:00
buf_view.h lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
buf.c bluetooth: host: fix formatter warnings 2024-09-23 10:01:34 +02:00
CMakeLists.txt bluetooth: host: Add support for CS set default settings 2024-09-16 10:02:58 +02:00
conn_internal.h bluetooth: host: CS support for remote capabilities and FAE table 2024-09-19 18:27:20 +01:00
conn.c bluetooth: host: fix formatter warnings 2024-09-23 10:01:34 +02:00
crypto_psa.c
crypto_tc.c
crypto.h
cs.c bluetooth: host: CS support for CS Test 2024-09-19 18:27:20 +01:00
data.c
direction_internal.h
direction.c
ecc.c
ecc.h
gatt_internal.h
gatt.c Bluetooth: GATT: Fix issue with 0/NULL for bt_gatt_attr_read 2024-09-23 18:09:13 -04:00
hci_common.c
hci_core.c bluetooth: host: CS support for remote capabilities and FAE table 2024-09-19 18:27:20 +01:00
hci_core.h bluetooth: host: CS support for remote capabilities and FAE table 2024-09-19 18:27:20 +01:00
hci_ecc.c
hci_ecc.h
hci_raw_internal.h lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
hci_raw.c
id.c bluetooth: host: Ignore HCI err 0xC when setting own addr when initiating 2024-09-03 10:42:56 +02:00
id.h
iso_internal.h Bluetooth: ISO: Update includes for ISO files 2024-09-09 13:55:20 -04:00
iso.c Bluetooth: ISO: Added missing NULL checks for API functions 2024-09-23 14:08:52 +01:00
Kconfig bluetooth: smp: remove experimental from BT_BONDABLE_PER_CONNECTION 2024-09-19 15:13:02 +02:00
Kconfig.gatt bluetooth: smp: remove experimental from BT_GATT_AUTHORIZATION_CUSTOM 2024-09-19 18:27:43 +01:00
Kconfig.l2cap
keys.c
keys.h
l2cap_internal.h
l2cap.c bluetooth: host: fix formatter warnings 2024-09-23 10:01:34 +02:00
long_wq.c
long_wq.h
monitor.c
monitor.h
scan.c Bluetooth: Host: Fix unable to start scanning after scan param failure 2024-09-05 12:25:17 +01:00
scan.h
settings.c
settings.h
smp_null.c
smp.c style: subsys: comply with MISRA C:2012 Rule 15.6 2024-09-11 07:40:35 -04:00
smp.h
uuid.c