Bug 14102 - netdb.h is missing NI_NUMERICSCOPE
Summary: netdb.h is missing NI_NUMERICSCOPE
Status: NEW
Alias: None
Product: glibc
Classification: Unclassified
Component: network (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-13 03:35 UTC by Rich Felker
Modified: 2014-06-25 11:01 UTC (History)
1 user (show)

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


Attachments
proposed patch (281 bytes, patch)
2014-06-04 02:54 UTC, Rich Felker
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rich Felker 2012-05-13 03:35:51 UTC
POSIX requires the NI_NUMERICSCOPE flag to be defined for use with getnameinfo. glibc is missing it. I propose defining it as 256 (the next available value); ignoring it should produce perfectly conformant behavior as far as I can tell.
Comment 1 Rich Felker 2012-09-30 17:26:54 UTC
Ping. This seems like a really simple issue to resolve. I'm waiting for a decision because musl libc is also missing it and we want to use the same number glibc ends up choosing to avoid gratuitous incompatibility.
Comment 2 Rich Felker 2013-08-02 15:48:33 UTC
Ping.
Comment 3 Ondrej Bilka 2013-10-15 07:40:04 UTC
For issues like these a fastest way is to send patch to libc-alpha.
Comment 4 Rich Felker 2014-06-04 02:54:15 UTC
Created attachment 7627 [details]
proposed patch

Here's a patch; I also sent it to the list.