Skip to content

Segfaults with musl #2

@sbyx

Description

@sbyx

musl has screwed up definition of msghdr (used 4x in mrib.c).
Positional initialization breaks and needs to be converted:

struct msghdr hdr = {&from, sizeof(from), &iov, 1, cbuf, sizeof(cbuf), 0};

to

struct msghdr hdr = {
.msg_name = &from,
.msg_namelen = sizeof(from),
...
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions