public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/433] New: gethostbyname fails to resolve undotted decimal, hex and octal addresses
@ 2004-10-08 22:43 mike dot batchelor at ticketmaster dot com
  2004-10-08 22:44 ` [Bug libc/433] " mike dot batchelor at ticketmaster dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: mike dot batchelor at ticketmaster dot com @ 2004-10-08 22:43 UTC (permalink / raw)
  To: glibc-bugs

"telnet 0 25" stopped working after upgrading system from RH7.2 glibc 2.2.4 to
RHAS3 with glibc 2.3.2, and also after upgrading Ultra1 from Solaris 8 to RHAS3
with glibc 2.3.2.  Any undotted decimal, hexadecimal or octal IP address also
fails to resolve for apps using glibc 2.3.2's gethostbyname.  Apps that use
libresolv (ping, tracertoute) continue to operate as expected, and resolve
hostname '0' to IP address 0.0.0.0, which causes socket calls to connect to the
first local interface, usually lo0.  They can also resolve hex or octal
addresses.  Apps linked only against glibc 2.3.2 return "0: Name or service not
known" or "0xac1c3f0a: Name or service not known".

I have not used any glibc versions between 2.2.4 and 2.3.2 so I cannot pinpoint
when this change occurred.  I did a search in the bug list and didn't find
anything relevant, so here I am, posting a bug.

-- 
           Summary: gethostbyname fails to resolve undotted decimal, hex and
                    octal addresses
           Product: glibc
           Version: 2.3.2
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: gotom at debian dot or dot jp
        ReportedBy: mike dot batchelor at ticketmaster dot com
                CC: glibc-bugs at sources dot redhat dot com
  GCC host triplet: "i686 i686 i386" and "sparc64 sun4u TI UltraSparc II"


http://sources.redhat.com/bugzilla/show_bug.cgi?id=433

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug libc/433] gethostbyname fails to resolve undotted decimal, hex and octal addresses
  2004-10-08 22:43 [Bug libc/433] New: gethostbyname fails to resolve undotted decimal, hex and octal addresses mike dot batchelor at ticketmaster dot com
@ 2004-10-08 22:44 ` mike dot batchelor at ticketmaster dot com
  2004-10-12  0:34 ` gotom at debian dot or dot jp
  2004-10-12 18:25 ` mike dot batchelor at ticketmaster dot com
  2 siblings, 0 replies; 4+ messages in thread
From: mike dot batchelor at ticketmaster dot com @ 2004-10-08 22:44 UTC (permalink / raw)
  To: glibc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   GCC host triplet|"i686 i686 i386" and        |"i386-redhat-linux" and
                   |"sparc64 sun4u TI UltraSparc|"sparc-unknown-linux-gnu"
                   |II"                         |


http://sources.redhat.com/bugzilla/show_bug.cgi?id=433

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug libc/433] gethostbyname fails to resolve undotted decimal, hex and octal addresses
  2004-10-08 22:43 [Bug libc/433] New: gethostbyname fails to resolve undotted decimal, hex and octal addresses mike dot batchelor at ticketmaster dot com
  2004-10-08 22:44 ` [Bug libc/433] " mike dot batchelor at ticketmaster dot com
@ 2004-10-12  0:34 ` gotom at debian dot or dot jp
  2004-10-12 18:25 ` mike dot batchelor at ticketmaster dot com
  2 siblings, 0 replies; 4+ messages in thread
From: gotom at debian dot or dot jp @ 2004-10-12  0:34 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From gotom at debian dot or dot jp  2004-10-12 00:34 -------
In the latest cvs, this report is already fixed.
I confirmed an old glibc 2.3.2 behaved as you mentioned.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME


http://sources.redhat.com/bugzilla/show_bug.cgi?id=433

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug libc/433] gethostbyname fails to resolve undotted decimal, hex and octal addresses
  2004-10-08 22:43 [Bug libc/433] New: gethostbyname fails to resolve undotted decimal, hex and octal addresses mike dot batchelor at ticketmaster dot com
  2004-10-08 22:44 ` [Bug libc/433] " mike dot batchelor at ticketmaster dot com
  2004-10-12  0:34 ` gotom at debian dot or dot jp
@ 2004-10-12 18:25 ` mike dot batchelor at ticketmaster dot com
  2 siblings, 0 replies; 4+ messages in thread
From: mike dot batchelor at ticketmaster dot com @ 2004-10-12 18:25 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From mike dot batchelor at ticketmaster dot com  2004-10-12 18:25 -------
Thanks for looking into this and posting a reply.  I now have glibc
2.3.3-20040420-r1 on my Sun Ultra2, and it exhibits the same behavior.  What
release of glibc do I need to obtain to get this fix you mentioned?  

Thanks.

-- 


http://sources.redhat.com/bugzilla/show_bug.cgi?id=433

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-10-12 18:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-08 22:43 [Bug libc/433] New: gethostbyname fails to resolve undotted decimal, hex and octal addresses mike dot batchelor at ticketmaster dot com
2004-10-08 22:44 ` [Bug libc/433] " mike dot batchelor at ticketmaster dot com
2004-10-12  0:34 ` gotom at debian dot or dot jp
2004-10-12 18:25 ` mike dot batchelor at ticketmaster dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).