summaryrefslogtreecommitdiffstats
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-07-02 21:06:18 (GMT)
committerGitHub <noreply@github.com>2019-07-02 21:06:18 (GMT)
commit3cba3d3c55f230a59174a0dfcafb1d4685269e60 (patch)
tree8bda4958e960cb3d18e87a8d41e83e2a02b29401 /Python/pythonrun.c
parent632cb36084dc9d13f1cdb31a0e7e3ba80745a51a (diff)
downloadcpython-3cba3d3c55f230a59174a0dfcafb1d4685269e60.zip
cpython-3cba3d3c55f230a59174a0dfcafb1d4685269e60.tar.gz
cpython-3cba3d3c55f230a59174a0dfcafb1d4685269e60.tar.bz2
bpo-37463: match_hostname requires quad-dotted IPv4 (GH-14499)
ssl.match_hostname() no longer accepts IPv4 addresses with additional text after the address and only quad-dotted notation without trailing whitespaces. Some inet_aton() implementations ignore whitespace and all data after whitespace, e.g. '127.0.0.1 whatever'. Short notations like '127.1' for '127.0.0.1' were already filtered out. The bug was initially found by Dominik Czarnota and reported by Paul Kehrer. Signed-off-by: Christian Heimes <christian@python.org> https://bugs.python.org/issue37463 (cherry picked from commit 477b1b25768945621d466a8b3f0739297a842439) Co-authored-by: Christian Heimes <christian@python.org>
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions