This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients Dominik Czarnota, aldwinaldwin, christian.heimes, vstinner
Date 2019-07-05.09:44:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1562319872.87.0.446572808027.issue37495@roundup.psfhosted.org>
In-reply-to
Content
January 2019, Florian Weimer created the issue "Deprecate inet_addr, inet_aton" in glibc:
https://sourceware.org/bugzilla/show_bug.cgi?id=24111

inet_aton() ignores extra string "for historic reasons". More info at:
https://sourceware.org/bugzilla/show_bug.cgi?id=20018#c0

"For historic reasons, inet_addr and inet_aton accept trailing garbage.  Some parsers rely on this (for example, libresolv when it parses “nameserver” directives in /etc/resolv.conf)."

--

To clarify the complex situation: glibc getaddrinfo() has been fixed in glibc to ignore extra string, but not inet_aton(). getaddrinfo() fix:

* https://sourceware.org/bugzilla/show_bug.cgi?id=20018
* https://bugzilla.redhat.com/show_bug.cgi?id=1347549
History
Date User Action Args
2019-07-05 09:44:32vstinnersetrecipients: + vstinner, christian.heimes, aldwinaldwin, Dominik Czarnota
2019-07-05 09:44:32vstinnersetmessageid: <1562319872.87.0.446572808027.issue37495@roundup.psfhosted.org>
2019-07-05 09:44:32vstinnerlinkissue37495 messages
2019-07-05 09:44:32vstinnercreate