cpython/Lib/test/test_email
Abhilash Raj a4a994bd3e bpo-37461: Fix infinite loop in parsing of specially crafted email headers (GH-14794)
* bpo-37461: Fix infinite loop in parsing of specially crafted email headers.

Some crafted email header would cause the get_parameter method to run in an
infinite loop causing a DoS attack surface when parsing those headers. This
patch fixes that by making sure the DQUOTE character is handled to prevent
going into an infinite loop.
2019-07-17 09:44:27 -07:00
..
data
__init__.py
__main__.py
test__encoded_words.py
test__header_value_parser.py bpo-37461: Fix infinite loop in parsing of specially crafted email headers (GH-14794) 2019-07-17 09:44:27 -07:00
test_asian_codecs.py
test_contentmanager.py
test_defect_handling.py
test_email.py bpo-30835: email: Fix AttributeError when parsing invalid CTE (GH-13598) 2019-06-04 11:00:47 -07:00
test_generator.py bpo-34424: Handle different policy.linesep lengths correctly. (#8803) 2019-05-13 21:07:39 -04:00
test_headerregistry.py bpo-21315: Fix parsing of encoded words with missing leading ws. (#13425) 2019-06-05 09:56:33 -07:00
test_inversion.py
test_message.py bpo-33972: Fix EmailMessage.iter_attachments raising AttributeError. (GH-14119) 2019-06-25 10:03:19 -07:00
test_parser.py
test_pickleable.py
test_policy.py Fix infinite loop in email folding logic (GH-12732) 2019-07-16 10:50:01 -07:00
test_utils.py bpo-35317: Fix mktime() error in test_email (GH-10721) 2018-11-27 12:40:50 +01:00
torture_test.py