summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/idle_test/test_codecontext.py
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-07-16 18:15:40 (GMT)
committerGitHub <noreply@github.com>2019-07-16 18:15:40 (GMT)
commite7bec26937ce602ca21cc1f78a391adcf5eafdf1 (patch)
tree9a30b95c56a412265c8c5fcdacd3f49faebafb74 /Lib/idlelib/idle_test/test_codecontext.py
parent134f79682d6729e3cf84b665d615f576075550e8 (diff)
downloadcpython-e7bec26937ce602ca21cc1f78a391adcf5eafdf1.zip
cpython-e7bec26937ce602ca21cc1f78a391adcf5eafdf1.tar.gz
cpython-e7bec26937ce602ca21cc1f78a391adcf5eafdf1.tar.bz2
Fix infinite loop in email folding logic (GH-12732)
As far as I can tell, this infinite loop would be triggered if: 1. The value being folded contains a single word (no spaces) longer than max_line_length 2. The max_line_length is shorter than the encoding's name + 9 characters. bpo-36564: https://bugs.python.org/issue36564 (cherry picked from commit f69d5c61981ea97d251db515c7ff280fcc17182d) Co-authored-by: Paul Ganssle <pganssle@users.noreply.github.com>
Diffstat (limited to 'Lib/idlelib/idle_test/test_codecontext.py')
0 files changed, 0 insertions, 0 deletions