summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/idle_test/test_pyshell.py
diff options
context:
space:
mode:
authorAshwin Ramaswami <aramaswamis@gmail.com>2019-09-03 16:42:53 (GMT)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-09-03 16:42:53 (GMT)
commitea21389dda401457198fb214aa2c981a45ed9528 (patch)
treefa4232b8646ea424f1411e18fe22f64061bef9c5 /Lib/idlelib/idle_test/test_pyshell.py
parent48058050cee5f6600150392100c162f223b4317f (diff)
downloadcpython-ea21389dda401457198fb214aa2c981a45ed9528.zip
cpython-ea21389dda401457198fb214aa2c981a45ed9528.tar.gz
cpython-ea21389dda401457198fb214aa2c981a45ed9528.tar.bz2
[3.7] bpo-37764: Fix infinite loop when parsing unstructured email headers. (GH-15239) (GH-15654)
…aders. (GH-15239) Fixes a case in which email._header_value_parser.get_unstructured hangs the system for some invalid headers. This covers the cases in which the header contains either: - a case without trailing whitespace - an invalid encoded word https://bugs.python.org/issue37764 This fix should also be backported to 3.7 and 3.8 https://bugs.python.org/issue37764 (cherry picked from commit c5b242f87f31286ad38991bc3868cf4cfbf2b681) Co-authored-by: Ashwin Ramaswami <aramaswamis@gmail.com> https://bugs.python.org/issue37764
Diffstat (limited to 'Lib/idlelib/idle_test/test_pyshell.py')
0 files changed, 0 insertions, 0 deletions