This is the mail archive of the glibc-bugs@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/433] New: gethostbyname fails to resolve undotted decimal, hex and octal addresses


"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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]