This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug network/20018] inet_addr and inet_aton should reject trailing garbage
- From: "sourceware-bugzilla at michael-kaufmann dot ch" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Tue, 14 Nov 2017 18:13:17 +0000
- Subject: [Bug network/20018] inet_addr and inet_aton should reject trailing garbage
- Auto-submitted: auto-generated
- References: <bug-20018-131@http.sourceware.org/bugzilla/>
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.