-
Notifications
You must be signed in to change notification settings - Fork 80
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
OS X Instancepath related bug: no NUL terminator #104
Comments
Can you turn on debug.io and paste the log? Hang on, this looks a bit off Should that be; ? On Sat, May 7, 2016 at 10:33 PM, gh0st42 notifications@github.com wrote:
|
Here ist the output of debug.io=true |
Changing these lines in socket.c didn't fix the problem.. |
Well, that was a bit of a guess, (and so's this...) The problem might be here; Line 58 in a5ff0ed
It seems that OSX has a different definition for struct sockaddr_un; So we'll need to be more careful to measure the used bytes in the structure. addr->addrlen=SUN_LEN(&addr->local); And here; Line 167 in a5ff0ed
On Sun, May 8, 2016 at 12:37 AM, gh0st42 notifications@github.com wrote:
|
Hm, after playing around a bit today I'm not able to reproduce the bug at the moment. Still, using SUN_LEN macro seems the right way to get the length in a platform independent way. At least on OSX it seams to work without breaking anything else. |
Cannot use SERVALINSTANCE_PATH on OSX at the moment. Compiled prefixpath seems to work.
Funny thing is, without SERVALINSTANCE_PATH set it all works.
The text was updated successfully, but these errors were encountered: