This is the mail archive of the glibc-bugs@sourceware.org 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 network/20018] inet_addr and inet_aton should reject trailing garbage


https://sourceware.org/bugzilla/show_bug.cgi?id=20018

Michael Kaufmann <sourceware-bugzilla@michael-kaufmann.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sourceware-bugzilla@michael
                   |                            |-kaufmann.ch

--- Comment #5 from Michael Kaufmann <sourceware-bugzilla@michael-kaufmann.ch> ---
Maybe it's "good enough" to just fix getaddrinfo() and leave alone the "legacy"
functions inet_addr() and inet_aton() ?

Portable applications should not break, because there are implementations of
getaddrinfo() which reject "127.0.0.1 www.example.com", e.g. the getaddrinfo()
implementation of OpenBSD.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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