zephyr/subsys/bluetooth/host
Ivan Iushkov 9fa4cd8226 Bluetooth: add missing initilization of sync_info member
During manual testing with UBSAN enabled, it was found that
bt_le_per_adv_sync_cb synced() callback in application
sometimes gets unexpected different values in
`sync_info.recv_enabled` field.

The UBSAN output contained the following warnings message:
runtime error:
load of value 65, which is not a valid value for type '_Bool'

It tunrned out that struct bt_le_per_adv_sync_synced_info sync_info
inside bt_hci_le_past_received_common() contains uninitialized
recv_enabled member.
Set it to true by default to avoid possible issues.

Signed-off-by: Ivan Iushkov <ivan.iushkov@nordicsemi.no>
2024-03-07 14:33:19 +00:00
..
classic Bluetooth: Rename BT_BREDR to BT_CLASSIC 2024-03-07 11:26:45 +02:00
addr_internal.h
addr.c
adv.c Bluetooth: Host: Send status for terminated directed adv 2024-02-08 10:11:34 +00:00
adv.h
aes_ccm.c
att_internal.h Bluetooth: ATT: call-back on buffer destroy 2023-12-15 17:14:56 +02:00
att.c Bluetooth: ATT: lock scheduler when sending from user thread 2024-03-07 11:16:55 +02:00
buf.c Bluetooth: ISO: Add CONFIG_BT_ISO_{RX/TX} 2024-03-02 15:05:39 +01:00
CMakeLists.txt Bluetooth: Host: Move BR/EDR files to host/classic 2024-03-07 11:26:45 +02:00
conn_internal.h Bluetooth: Rename BT_BREDR to BT_CLASSIC 2024-03-07 11:26:45 +02:00
conn.c Bluetooth: Rename BT_BREDR to BT_CLASSIC 2024-03-07 11:26:45 +02:00
crypto.c
crypto.h
data.c
direction_internal.h
direction.c
ecc.c
ecc.h
gatt_internal.h
gatt.c Bluetooth: Check buffer length in GATT rsp functions 2024-02-27 17:57:04 +01:00
hci_common.c
hci_core.c Bluetooth: Rename BT_BREDR to BT_CLASSIC 2024-03-07 11:26:45 +02:00
hci_core.h Bluetooth: Rename BT_BREDR to BT_CLASSIC 2024-03-07 11:26:45 +02:00
hci_ecc.c
hci_ecc.h
hci_raw_internal.h
hci_raw.c Bluetooth: Host: Remove bt_buf_get_cmd_complete 2024-01-31 17:50:35 +01:00
id.c Bluetooth: Rename BT_BREDR to BT_CLASSIC 2024-03-07 11:26:45 +02:00
id.h
iso_internal.h Bluetooth: Host: iso_data extend bt_buf_data 2023-12-11 12:50:54 +01:00
iso.c Bluetooth: ISO: Add CONFIG_BT_ISO_{RX/TX} 2024-03-02 15:05:39 +01:00
Kconfig Bluetooth: Rename BT_BREDR to BT_CLASSIC 2024-03-07 11:26:45 +02:00
Kconfig.gatt bluetooth: gatt: add authorization callback API for gatt operations 2024-01-19 16:08:46 +01:00
Kconfig.l2cap Bluetooth: Rename BT_BREDR to BT_CLASSIC 2024-03-07 11:26:45 +02:00
keys.c
keys.h
l2cap_internal.h Bluetooth: Host: Include full path of l2cap_br_interface.h 2024-03-07 11:26:45 +02:00
l2cap.c Bluetooth: Rename BT_BREDR to BT_CLASSIC 2024-03-07 11:26:45 +02:00
long_wq.c
long_wq.h
monitor.c Bluetooth: Rename BT_BREDR to BT_CLASSIC 2024-03-07 11:26:45 +02:00
monitor.h Bluetooth: Rename BT_BREDR to BT_CLASSIC 2024-03-07 11:26:45 +02:00
scan.c Bluetooth: add missing initilization of sync_info member 2024-03-07 14:33:19 +00:00
scan.h
settings.c
settings.h
smp_null.c
smp.c Bluetooth: Rename BT_BREDR to BT_CLASSIC 2024-03-07 11:26:45 +02:00
smp.h
testing.c Bluetooth: Mesh: Make bt_mesh_model as rodata 2023-11-16 16:52:14 +01:00
testing.h Bluetooth: Mesh: Make bt_mesh_model as rodata 2023-11-16 16:52:14 +01:00
uuid.c