Closed xiaobye-ctf closed 8 months ago
https://github.com/bluekitchen/btstack/blob/de13ba803acdb54c41ebfbca4e795757f719a2dd/example/gatt_battery_query.c#L198C1-L212C19 https://github.com/bluekitchen/btstack/blob/de13ba803acdb54c41ebfbca4e795757f719a2dd/example/gatt_device_information_query.c#L196C1-L210C19 In these examples, report.address_type and report.address has not been assigned a value, which could lead to unknown behavior in gap_connect.
report.address_type
report.address
gap_connect
fixed in 041b66c. Thanks!
https://github.com/bluekitchen/btstack/blob/de13ba803acdb54c41ebfbca4e795757f719a2dd/example/gatt_battery_query.c#L198C1-L212C19 https://github.com/bluekitchen/btstack/blob/de13ba803acdb54c41ebfbca4e795757f719a2dd/example/gatt_device_information_query.c#L196C1-L210C19 In these examples,
report.address_type
andreport.address
has not been assigned a value, which could lead to unknown behavior ingap_connect
.