Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix using SockaddrStorage to store Unix domain addresses on Linux #1871

Merged
merged 1 commit into from Nov 21, 2022

Commits on Nov 19, 2022

  1. Fix using SockaddrStorage to store Unix domain addresses on Linux

    Since it has variable length, the user of a sockaddr_un must keep track
    of its true length.  On the BSDs, this is handled by the builtin sun_len
    field.  But on Linux-like operating systems it isn't.  Fix this bug by
    explicitly tracking it for SockaddrStorage just like we already do for
    UnixAddr.
    
    Fixes nix-rust#1866
    asomers committed Nov 19, 2022
    Configuration menu
    Copy the full SHA
    fa62534 View commit details
    Browse the repository at this point in the history