This repository was archived by the owner on May 1, 2021. It is now read-only.
This repository was archived by the owner on May 1, 2021. It is now read-only.
Invalid assumption of SocketAddrV{4,6} layout #1
Closed
Description
This code assumes that Rust's std::net::{SocketAddrV4, SocketAddrV6}
are layout compatible with sockaddr
:
Lines 61 to 84 in f706c11
This is not guaranteed by the standard library, see rust-lang/rust#78802 for more details.
Metadata
Metadata
Assignees
Labels
No labels