Skip to content

RecvMsg.cmsg() should check MSG_CTRUNC #2400

Closed
@agrover

Description

@agrover

If the cmsg buffer is too small, MSG_CTRUNC will be set in the header flags. This should be checked before returning CmsgIterator, or else the iterator might return invalid data.

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