Skip to content

SigSet Incorrect implementation of Eq and PartialEq #1749

Closed
@germag

Description

@germag

signal::SigSet derives Eq and PartialEq, I assume because libc::sigset_t does it too, but in linux, sigfillset(3) only initializes the first 64 bits, leaving the rest uninitialized, so two signal::SigSets can be different even though both have the same set of signals

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions