-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
[3.6] bpo-36564: Fix infinite loop in email folding logic (GH-12732) #14799
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
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>
The failure is due to:
The Linux builds on Azure and Travis went through without any errors. Maybe we need to restart the build on Appveyor. |
Thanks for looking into it. I wouldn’t worry about the failure. I will take a look and presumably merge the PR later when I’m back from holiday. |
Sorry, I can't merge this PR. Reason: |
As far as I can tell, this infinite loop would be triggered if:
max_line_length
characters.
bpo-36564: https://bugs.python.org/issue36564
(cherry picked from commit f69d5c6)
Co-authored-by: Paul Ganssle pganssle@users.noreply.github.com
https://bugs.python.org/issue36564