-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
Closed
Labels
3.12only security fixesonly security fixes3.13bugs and security fixesbugs and security fixes3.14bugs and security fixesbugs and security fixestype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
New Bluetooth tests added in #132023 fail on Fedora based platforms. It looks that the hci_channel
member of the sockaddr_hci
structure is not initialized. This may be a cause of the failure.
On NetBSD and DragonFly sockaddr_hci
is an alias of sockaddr_bt
which contain other fields. This also may be an issue.
If sockaddr_hci
contains additional optional members, not initializing them with zeros also may cause troubles.
It is safer to always initialize sockaddr_hci
and all other sockaddr_*
structures with zeroes.
Linked PRs
Metadata
Metadata
Assignees
Labels
3.12only security fixesonly security fixes3.13bugs and security fixesbugs and security fixes3.14bugs and security fixesbugs and security fixestype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error