cpython/Lib/test/test_email
Miss Islington (bot) 30870c834c
[3.12] gh-102988: Detect email address parsing errors and return empty tuple to indicate the parsing error (old API) (GH-105127) (#106612)
gh-102988: Detect email address parsing errors and return empty tuple to indicate the parsing error (old API) (GH-105127)

Detect email address parsing errors and return empty tuple to indicate the parsing error (old API). This fixes or at least ameliorates CVE-2023-27043.

---------

(cherry picked from commit 18dfbd0357)

Co-authored-by: Thomas Dwyer <github@tomd.tel>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
2023-07-10 23:38:42 +00:00
..
data
__init__.py
__main__.py
test__encoded_words.py
test__header_value_parser.py
test_asian_codecs.py
test_contentmanager.py
test_defect_handling.py
test_email.py [3.12] gh-102988: Detect email address parsing errors and return empty tuple to indicate the parsing error (old API) (GH-105127) (#106612) 2023-07-10 23:38:42 +00:00
test_generator.py
test_headerregistry.py
test_inversion.py
test_message.py
test_parser.py
test_pickleable.py
test_policy.py
test_utils.py
torture_test.py