diff options
| author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-06-14 10:11:01 +0000 |
|---|---|---|
| committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-06-14 10:11:01 +0000 |
| commit | 2f8d3280e0bbbf6d964d84ab4ae9456a1e8e8eb0 (patch) | |
| tree | 60ce42aa5876ecbcf9f07326d67172d06212dbc7 /test/ruby | |
| parent | 11aa7c9604055b252c5d84c6b8cb5e95be7bfafa (diff) | |
* ext/socket/raddrinfo.c (parse_numeric_port): Detect
port overflow.
(numeric_getaddrinfo): Use parse_numeric_port.
numeric_getaddrinfo fails if port is too big now.
This makes rb_getaddrinfo invokes the real getaddrinfo()
on such condition.
This change is related to [ruby-core:69355] [Bug #11179].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
0 files changed, 0 insertions, 0 deletions
