Bug 113628
Summary: | getaddrinfo no longer resolves 0 as 0.0.0.0 aka localhost | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Rob de Wit <rdewit> | ||||
Component: | glibc | Assignee: | Jakub Jelinek <jakub> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Brian Brock <bbrock> | ||||
Severity: | low | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 9 | CC: | fweimer | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i686 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2004-01-15 22:57:10 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Rob de Wit
2004-01-15 22:35:02 UTC
Created attachment 97044 [details]
Little testprog using gethostbyname and getaddrinfo to resolve argv[1]
Your testcase is buggy, a->ai_addr points to struct sockaddr_in in your case, not IP itself. Works for me just fine (after fixing that bug) with glibc-2.3.2-101.4 and glibc-2.3.2-95.6. Please accept my excuses for sending in faulty code, I never got to that part of the code, because in my case the getaddrinfo() functions just failed (and still does). |