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

length of SockaddrUnix is wrong for abstract paths #1427

Closed
alberts opened this issue Jan 18, 2011 · 2 comments
Closed

length of SockaddrUnix is wrong for abstract paths #1427

alberts opened this issue Jan 18, 2011 · 2 comments

Comments

@alberts
Copy link
Contributor

alberts commented Jan 18, 2011

What steps will reproduce the problem?

Connect from a C program like socat to a Go unix socket with an abstract path name.

Connection fails because Go includes an extra null at the end of the path.

http://groups.google.com/group/golang-dev/browse_thread/thread/e8600c6b970181ea

Which compiler are you using (5g, 6g, 8g, gccgo)?

6g

Which operating system are you using?


linux

Which revision are you using?  (hg identify)

tip
@alberts
Copy link
Contributor Author

alberts commented Jan 19, 2011

Comment 1:

Fixed in revision 2afd3c978e.

@rsc
Copy link
Contributor

rsc commented Jan 19, 2011

Comment 2:

Status changed to Retracted.

@golang golang locked and limited conversation to collaborators Jun 24, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants