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 length of abstract socket address #1120

Merged
merged 1 commit into from
Sep 4, 2019
Merged

Fix length of abstract socket address #1120

merged 1 commit into from
Sep 4, 2019

Commits on Sep 4, 2019

  1. Fix length of abstract socket address

    NULL bytes have no special significance in an abstrace address, and the
    length of the address is solely decided by the length member. If the
    length is set to sun_path.len(), all the NULL bytes will be considered
    part of the address.
    
    Tests are updated accordingly.
    
    Closes #1119
    
    Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
    yshui committed Sep 4, 2019
    Configuration menu
    Copy the full SHA
    39d158a View commit details
    Browse the repository at this point in the history