summaryrefslogtreecommitdiffstats
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorPetr Viktorin <encukou@gmail.com>2024-09-06 11:14:09 (GMT)
committerGitHub <noreply@github.com>2024-09-06 11:14:09 (GMT)
commit4d069d5b1170b9d82013ab824ff5d6cf28964d97 (patch)
tree33c9d117a483d828686cde24323ce83c55721f4b /Python/pythonrun.c
parenta50a86db0fd66c7ea53e56e346057be1153d6d47 (diff)
downloadcpython-4d069d5b1170b9d82013ab824ff5d6cf28964d97.zip
cpython-4d069d5b1170b9d82013ab824ff5d6cf28964d97.tar.gz
cpython-4d069d5b1170b9d82013ab824ff5d6cf28964d97.tar.bz2
[3.8] [CVE-2023-27043] gh-102988: Reject malformed addresses in email.parseaddr() (GH-111116) (#123770)
Detect email address parsing errors and return empty tuple to indicate the parsing error (old API). Add an optional 'strict' parameter to getaddresses() and parseaddr() functions. Patch by Thomas Dwyer. (cherry picked from commit 4a153a1d3b18803a684cd1bcc2cdf3ede3dbae19) Co-authored-by: Victor Stinner <vstinner@python.org> Co-Authored-By: Thomas Dwyer <github@tomd.tel>
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions