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
P
Paul Ganssle committed
f69d5c61981ea97d251db515c7ff280fcc17182d
Parent: 1d8b04e
Committed by Barry Warsaw <barry@python.org>
on 7/16/2019, 5:50:01 PM