Closed 1f604 closed 2 months ago
Change https://go.dev/cl/535776 mentions this issue: syscall: stop counting trailing NUL for abstract addresses starting with NUL
Change https://go.dev/cl/535955 mentions this issue: syscall: stop counting trailing NUL for abstract addresses starting with NUL
I believe this is fixed by the above CLs.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
https://go.dev/play/p/QzrhBGKYhJc
What did you expect to see?
What did you see instead?
In the syscall file there is code that special-cases handling of unix socket names beginning with
@
by removing the trailing NUL character but it does not do the same for unix socket names starting with the NUL character.It seems obvious to me that this is just a simple oversight and the fix is very simple. Lemme just make a PR...