bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Where is the address parser?


From: Andre' Breiler
Subject: Re: Where is the address parser?
Date: Sun, 4 Mar 2001 01:34:12 +0100 (CET)

On Sat, 3 Mar 2001, Jan Rekorajski wrote:

> I added bug-glibc to CC, looks like glibc 2.2 resolver is broken.

Yes, you are right. The bug is in inet_aton().
It's happy with 4 points in the IP (but should complain about the 4th
point).
A patch is attached.

> On Sat, 03 Mar 2001, Andre' Breiler wrote:
>
> > Have you tried a "ping 10.1.2.3.4" to make sure that the resolver doesn't
> > resolve this name to an ip.
>
> It look like resolver bug, which version of (g)libc do you have?
> It's gethostbyname that makes 10.1.2.7 from 10.1.2.3.4.
>
> address@hidden baggins]$ rpm -q glibc
> glibc-2.2.2-1
>
> address@hidden baggins]$ ping 10.1.2.3.4
> PING 10.1.2.3.4 (10.1.2.7): 56 data bytes

Bye Andre
-- 
eMail: address@hidden
Type Bits/KeyID    Date       User ID
pub  2048/7D1A7EE1 1998/05/06 Andre' Breiler 2048 <address@hidden> CRYPT
     Key fingerprint = 07 2D 63 1E E9 0D FC 91  4A 56 FB 94 C1 D6 69 6C
pub  2048/89D36175 1997/06/20 Andre' Breiler 2048 <address@hidden> SIG
     Key fingerprint = 8E 9E A2 F8 29 27 CC 94  10 44 0E 40 7A C9 33 10

Attachment: inet_addr.c.diff
Description: Patch which fixes this bug


reply via email to

[Prev in Thread] Current Thread [Next in Thread]