Skip to content

Problem: UDP socket descriptor leak with exec'd processes #1899

@stephenprocter

Description

@stephenprocter

The zsys_udp_new() method does not set the O_CLOEXEC flag on the socket descriptor, which leads to the descriptor leaking if the process subsequently performs an exec(). This is a particular issue for the zbeacon class as the flag cannot be set by client code either, since the UDP socket descriptors are private to the class.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions