Displaying 1 result from an estimated 1 matches for "af_unix_size".
2001 Feb 10
1
Handling of failed connect()s when ssh-agent is busy
...if (newauthsockdir != NULL)
{
unlink(authsocket);
chdir("/");
rmdir(newauthsockdir);
xfree(newauthsockdir);
}
xfree(authsocketdir);
return -1;
}
if (connect(sock, (struct sockaddr *)&sunaddr,
AF_UNIX_SIZE(sunaddr)) < 0)
{
close(sock);
if (newauthsockdir != NULL)
{
unlink(authsocket);
chdir("/");
rmdir(newauthsockdir);
xfree(newauthsockdir);
}
xfree(authsocketdir);
return -1;
}
We fixed SSH-1.2.27 by...