summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorAbhilash Raj <maxking@users.noreply.github.com>2019-12-09 01:37:34 (GMT)
committerGitHub <noreply@github.com>2019-12-09 01:37:34 (GMT)
commit3ae4ea1931361dd2743e464790e739d9285501bf (patch)
tree56b73bd2a05fc6f53d9cbb0ad9cfb72547b97111 /Misc/NEWS.d
parent68157da8b42b26408af5d157d2dba4fcf29c6320 (diff)
downloadcpython-3ae4ea1931361dd2743e464790e739d9285501bf.zip
cpython-3ae4ea1931361dd2743e464790e739d9285501bf.tar.gz
cpython-3ae4ea1931361dd2743e464790e739d9285501bf.tar.bz2
bpo-38708: email: Fix a potential IndexError when parsing Message-ID (GH-17504)
Fix a potential IndexError when passing an empty value to the message-id parser. Instead, HeaderParseError should be raised.
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/Library/2019-12-07-22-25-39.bpo-38708.rZTUfk.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-12-07-22-25-39.bpo-38708.rZTUfk.rst b/Misc/NEWS.d/next/Library/2019-12-07-22-25-39.bpo-38708.rZTUfk.rst
new file mode 100644
index 0000000..23a0a46
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2019-12-07-22-25-39.bpo-38708.rZTUfk.rst
@@ -0,0 +1 @@
+Fix a potential IndexError in email parser when parsing an empty msg-id.