We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
network/Network/Socket/Types.hsc
Lines 1158 to 1161 in 2d5ebe6
The check length path > unixPathMax seems wrong:
length path > unixPathMax
>=
\0
String
char
https://hackage.haskell.org/package/network-3.2.1.0/docs/Network-Socket.html#v:SockAddrUnix says
The path must have fewer than 104 characters. All of these characters must have code points less than 256.
but the check should enforce this properly.
The text was updated successfully, but these errors were encountered:
kazu-yamamoto
Successfully merging a pull request may close this issue.
network/Network/Socket/Types.hsc
Lines 1158 to 1161 in 2d5ebe6
The check
length path > unixPathMax
seems wrong:>=
because there needs to be a Byte available for the trailing\0
.String
) instead of Cchar
s (Bytes)https://hackage.haskell.org/package/network-3.2.1.0/docs/Network-Socket.html#v:SockAddrUnix says
but the check should enforce this properly.
The text was updated successfully, but these errors were encountered: