summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2019-10-21 08:35:07 (GMT)
committerGitHub <noreply@github.com>2019-10-21 08:35:07 (GMT)
commit5bc6a7c06eda20ba131ecba6752be0506d310181 (patch)
tree2421865d747ee7d068363cadb6de33a984c05ade /Misc
parent2eba6ad7bf3a5beeed54209a0107be8e1ac77767 (diff)
downloadcpython-5bc6a7c06eda20ba131ecba6752be0506d310181.zip
cpython-5bc6a7c06eda20ba131ecba6752be0506d310181.tar.gz
cpython-5bc6a7c06eda20ba131ecba6752be0506d310181.tar.bz2
bpo-38540: Fix possible leak in PyArg_Parse for "es#" and "et#". (GH-16869)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/C API/2019-10-21-09-24-03.bpo-38540.314N_T.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/C API/2019-10-21-09-24-03.bpo-38540.314N_T.rst b/Misc/NEWS.d/next/C API/2019-10-21-09-24-03.bpo-38540.314N_T.rst
new file mode 100644
index 0000000..1d73ad8
--- /dev/null
+++ b/Misc/NEWS.d/next/C API/2019-10-21-09-24-03.bpo-38540.314N_T.rst
@@ -0,0 +1,3 @@
+Fixed possible leak in :c:func:`PyArg_Parse` and similar functions for
+format units ``"es#"`` and ``"et#"`` when the macro
+:c:macro:`PY_SSIZE_T_CLEAN` is not defined.