[proxy] web.archive.org← back | site home | direct (HTTPS) ↗ | proxy home | ◑ dark◐ light

[3.6] bpo-36564: Fix infinite loop in email folding logic (GH-12732) by miss-islington · Pull Request #14799 · python/cpython

bedevere-bot

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 f69d5c6)

Co-authored-by: Paul Ganssle <pganssle@users.noreply.github.com>

mentioned this pull request

Jul 16, 2019

Merged

warsaw changed the title [3.6] Fix infinite loop in email folding logic (GH-12732) [3.6] bpo-36564: Fix infinite loop in email folding logic (GH-12732)

Jul 16, 2019

ned-deily merged commit 79a47e2 into python:3.6

Jul 21, 2019

6 checks passed

Azure Pipelines PR #20190716.28 succeeded

Details

bedevere/issue-number Issue number 36564 found

Details

bedevere/maintenance-branch-pr Valid maintenance branch PR title.

bedevere/news News entry found in Misc/NEWS.d

continuous-integration/appveyor/pr AppVeyor build succeeded

Details

continuous-integration/travis-ci/pr The Travis CI build passed

Details