Skip to content

Possible use of unitialized socked address #132075

@serhiy-storchaka

Description

@serhiy-storchaka

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

Labels

3.12only security fixes3.13bugs and security fixes3.14bugs and security fixestype-bugAn unexpected behavior, bug, or error

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy