Revision 070fae6d0ff49e63bfd5f2bdc66f8eb1df3b6557 authored by Christian Heimes on 02 July 2019, 18:39:42 UTC, committed by Ned Deily on 02 July 2019, 18:42:08 UTC


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
1 parent dcc0eb3
Raw File
vgrindefs
# vgrind is a pretty-printer that takes source code and outputs
# eye-pleasing postscript.  The entry below should be added to your
# local vgrindefs file.  Contributed by Neale Pickett <neale@lanl.gov>.

python|Python|py:\
        :pb=^\d?(def|class)\d\p(\d|\\|\(|\:):\
        :cb=#:ce=$:sb=":se=\e":lb=':le=\e':\
        :kw=assert and break class continue def del elif else except\
         finally for from global if import in is lambda not or\
         pass print raise return try while yield:
back to top