Closed jmdcal closed 9 years ago
I found that getaddrinfo can accept node==NULL. You can't strcmp NULL! I was able to fix like so:
static char *find_alias_in_line(char *hosts_line, const char *alias)
{
char *strtok_saveptr, *ret, *hash, *token = NULL;
if (alias == NULL)
return NULL;
...
@neutronscott Could you fork & request a pull?
the lib is causing segfaults in ssh tunnels