cpython/Lib/email
Miss Islington (bot) e7bec26937
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 f69d5c6198)

Co-authored-by: Paul Ganssle <pganssle@users.noreply.github.com>
2019-07-16 11:15:40 -07:00
..
mime
__init__.py
_encoded_words.py
_header_value_parser.py Fix infinite loop in email folding logic (GH-12732) 2019-07-16 11:15:40 -07:00
_parseaddr.py
_policybase.py
architecture.rst
base64mime.py
charset.py
contentmanager.py
encoders.py
errors.py
feedparser.py bpo-30835: email: Fix AttributeError when parsing invalid CTE (GH-13598) 2019-06-05 03:23:37 -07:00
generator.py
header.py bpo-27737: Allow whitespace only headers encoding (GH-13478) (#13517) 2019-05-22 21:41:43 -04:00
headerregistry.py
iterators.py
message.py [3.7] bpo-33972: Fix EmailMessage.iter_attachments raising AttributeError. (GH-14119) (GH-14381) 2019-06-25 11:40:41 -07:00
parser.py Fix infinite loop in email folding logic (GH-12732) 2019-07-16 11:15:40 -07:00
policy.py bpo-33524: Fix the folding of email header when max_line_length is 0 or None (GH-13391) 2019-05-17 13:47:12 -07:00
quoprimime.py
utils.py