Skip to content
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

bpo-36564: Fix infinite loop in email folding logic #12732

Merged
merged 1 commit into from Jul 16, 2019

Commits on Jul 14, 2019

  1. Fix infinite loop in email folding logic

    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
    pganssle committed Jul 14, 2019