mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-04 17:22:19 +00:00
std: fix unix socket address panic on a full sun_path
linux reports an address length one byte past sockaddr_un when the path fills sun_path without a NUL, which made address() slice out of bounds since e96993c68f. cap the length at the size of sockaddr_un.