Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
Closed
Description
Bug report
New Bluetooth tests added in#132023 fail on Fedora based platforms. It looks that thehci_channel member of thesockaddr_hci structure is not initialized. This may be a cause of the failure.
On NetBSD and DragonFlysockaddr_hci is an alias ofsockaddr_bt which contain other fields. This also may be an issue.
Ifsockaddr_hci contains additional optional members, not initializing them with zeros also may cause troubles.
It is safer to always initializesockaddr_hci and all othersockaddr_* structures with zeroes.