summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2019-03-19 01:58:14 (GMT)
committerGitHub <noreply@github.com>2019-03-19 01:58:14 (GMT)
commitfaddaedd05ca81a9fed3f315e7bc8dcf455824a2 (patch)
tree90679ab39bba190bd5cfa055ae3f564255d29495 /Misc/NEWS.d/next
parent5f9cf23502febe0eb3bc02e45c7d2bfc79424757 (diff)
downloadcpython-faddaedd05ca81a9fed3f315e7bc8dcf455824a2.zip
cpython-faddaedd05ca81a9fed3f315e7bc8dcf455824a2.tar.gz
cpython-faddaedd05ca81a9fed3f315e7bc8dcf455824a2.tar.bz2
bpo-36352: Avoid hardcoded MAXPATHLEN size in getpath.c (GH-12423)
* Use Py_ARRAY_LENGTH() rather than hardcoded MAXPATHLEN in getpath.c. * Pass string length to functions modifying strings.
Diffstat (limited to 'Misc/NEWS.d/next')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2019-03-19-02-36-40.bpo-36352.qj2trz.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2019-03-19-02-36-40.bpo-36352.qj2trz.rst b/Misc/NEWS.d/next/Core and Builtins/2019-03-19-02-36-40.bpo-36352.qj2trz.rst
new file mode 100644
index 0000000..148201c
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2019-03-19-02-36-40.bpo-36352.qj2trz.rst
@@ -0,0 +1,2 @@
+Python initialization now fails with an error, rather than silently
+truncating paths, if a path is too long.