SocketAncillary doesn't ensure the control buffer is aligned at least as much as cmsghdr #139861
Labels
A-io
Area: `std::io`, `std::fs`, `std::net` and `std::path`
C-bug
Category: This is a bug.
F-unix_socket_ancillary_data
`#![feature(unix_socket_ancillary_data)]`
O-unix
Operating system: Unix-like
T-libs
Relevant to the library team, which will review and decide on the PR/issue.
SocketAncillary
accepts an arbitrary slice as input even if the slice is not correctly aligned tocmsghdr
. This is unsound.The text was updated successfully, but these errors were encountered: