mirror of https://git.musl-libc.org/git/musl
Browse Source
the kernel wrongly expects the cmsg length field to be size_t instead of socklen_t. in order to work around the issue, we have to impose a length limit and copy to a local buffer. the length limit should be more than sufficient for any real-world use; these headers are only used for passing file descriptors and permissions between processes over unix sockets.rs-1.0
6 changed files with 42 additions and 7 deletions
Loading…
Reference in new issue