Bug 298 - getaddrinfo doesn't support AI_NUMERICSERV
Summary: getaddrinfo doesn't support AI_NUMERICSERV
Status: RESOLVED DUPLICATE of bug 296
Alias: None
Product: glibc
Classification: Unclassified
Component: libc (show other bugs)
Version: 2.3.3
: P2 normal
Target Milestone: ---
Assignee: GOTO Masanori
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-04 22:45 UTC by David L Stevens
Modified: 2019-04-10 10:54 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:
fweimer: security-


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David L Stevens 2004-08-04 22:45:32 UTC
RFC 3493 specifies flag "AI_NUMERICSERV", analogous to AI_NUMERICHOST, for
the ai_flags field of hints:

"If the AI_NUMERICSERV flag is specified, then a non-null servname
string supplied shall be a numeric port string. Otherwise, an
[EAI_NONAME] error shall be returned. This flag shall prevent any
type of name resolution service (for example, NIS+) from being
invoked."

netdb.h doesn't defined AI_NUMERICSERV and getaddrinfo() doesn't implement it.
Comment 1 Jakub Jelinek 2004-08-05 16:11:43 UTC

*** This bug has been marked as a duplicate of 296 ***