public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/279] New: inet_aton does not check string formatting
@ 2004-07-22 11:11 ferry at hupie dot com
  2004-07-22 12:03 ` [Bug libc/279] " schwab at suse dot de
  0 siblings, 1 reply; 2+ messages in thread
From: ferry at hupie dot com @ 2004-07-22 11:11 UTC (permalink / raw)
  To: glibc-bugs

red hat 9, glibc-2.3.2-27.9.7

function inet_aton does not check string formatting correctly
a string of 1.2.3 gives me address 1.0.2.3 which is not expected
a string of 1.2   gives me address 1.0.0.2 which is not expected

I think it should check for 3 dots in the string before declaring it valid.

-- 
           Summary: inet_aton does not check string formatting
           Product: glibc
           Version: 2.3.2
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: gotom at debian dot or dot jp
        ReportedBy: ferry at hupie dot com
                CC: glibc-bugs at sources dot redhat dot com
  GCC host triplet: i686-redhat-linux-gnu


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

------- 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] 2+ messages in thread

* [Bug libc/279] inet_aton does not check string formatting
  2004-07-22 11:11 [Bug libc/279] New: inet_aton does not check string formatting ferry at hupie dot com
@ 2004-07-22 12:03 ` schwab at suse dot de
  0 siblings, 0 replies; 2+ messages in thread
From: schwab at suse dot de @ 2004-07-22 12:03 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From schwab at suse dot de  2004-07-22 12:03 -------
This is not a bug.  The strings are valid abbreviated formats for IP numbers. 

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


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

------- 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] 2+ messages in thread

end of thread, other threads:[~2004-07-22 12:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-22 11:11 [Bug libc/279] New: inet_aton does not check string formatting ferry at hupie dot com
2004-07-22 12:03 ` [Bug libc/279] " schwab at suse dot de

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