Skip to content

inet_pton: don't assume addr families don't exist#4176

Merged
ethomson merged 1 commit into
masterfrom
ethomson/3872
Mar 23, 2017
Merged

inet_pton: don't assume addr families don't exist#4176
ethomson merged 1 commit into
masterfrom
ethomson/3872

Conversation

@ethomson
Copy link
Copy Markdown
Member

Address family 5 might exist on some crazy system like Haiku.
Use INT_MAX-1 as an unsupported address family.

Fixes #3872

Address family 5 might exist on some crazy system like Haiku.
Use `INT_MAX-1` as an unsupported address family.
@ethomson ethomson merged commit 6ad091d into master Mar 23, 2017
@ethomson ethomson deleted the ethomson/3872 branch January 9, 2019 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant