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 alex, christian.heimes, dstufft, janssen, lukasz.langa, miss-islington, ned.deily, rschiron, vstinner
Date 2019-07-05.09:49:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1562320191.49.0.495837265558.issue37463@roundup.psfhosted.org>
In-reply-to
Content
> inet_aton accepts trailing characterrs after a valid IP (
https://bugzilla.redhat.com/show_bug.cgi?id=1347549).

There is a little bit of confusion between getaddrinfo() and inet_aton() here (https://bugzilla.redhat.com/show_bug.cgi?id=1347549 is about getaddrinfo()). getaddrinfo() has been fixed:
https://sourceware.org/bugzilla/show_bug.cgi?id=20018

But glibc devs don't want to fix inet_aton() to keep the backward compatibility ("for historic reasons"): more info in bpo-37495 "socket.inet_aton parsing issue on some libc versions".

This issue is about ssl.match_hostname() which uses internally socket.inet_aton(). ssl.match_hostname() has been fixed to implement further checks to workaround inet_aton() behavior (ignore extra string after a whitespace).

I also removed inet_aton() from the title of this issue to reduce confusion ;-)
History
Date User Action Args
2019-07-05 09:49:51vstinnersetrecipients: + vstinner, janssen, christian.heimes, ned.deily, alex, lukasz.langa, dstufft, miss-islington, rschiron
2019-07-05 09:49:51vstinnersetmessageid: <1562320191.49.0.495837265558.issue37463@roundup.psfhosted.org>
2019-07-05 09:49:51vstinnerlinkissue37463 messages
2019-07-05 09:49:51vstinnercreate