diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-09-04 16:35:56 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-04 16:35:56 +0000 |
commit | 16624668d40cb3f8545188d95f96d635313d5479 (patch) | |
tree | a1e6151e093515698c7c6463016421bd097a1dc1 /test/test_net.rs | |
parent | 01f4d57eede3ed2f1051778113b1d6a7dff8e9d6 (diff) | |
parent | 39d158a0142d8a9f38d7952a686cb53fa6542a5f (diff) | |
download | nix-16624668d40cb3f8545188d95f96d635313d5479.zip |
Merge #1120
1120: Fix length of abstract socket address r=asomers a=yshui
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>
Co-authored-by: Yuxuan Shui <yshuiv7@gmail.com>
Diffstat (limited to 'test/test_net.rs')
0 files changed, 0 insertions, 0 deletions