summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorGregory P. Smith <greg@krypto.org>2018-12-30 23:42:32 (GMT)
committerGitHub <noreply@github.com>2018-12-30 23:42:32 (GMT)
commit387512c7ecde6446f2e29408af2e16b9fc043807 (patch)
tree66e991863076343981c7577cdbf2434449322f55 /Misc
parent1b29c03c95dbffa05f2bac0f8f1a36b21606a504 (diff)
downloadcpython-387512c7ecde6446f2e29408af2e16b9fc043807.zip
cpython-387512c7ecde6446f2e29408af2e16b9fc043807.tar.gz
cpython-387512c7ecde6446f2e29408af2e16b9fc043807.tar.bz2
bpo-28503: Use crypt_r() when available instead of crypt() (GH-11373)
Use crypt_r() when available instead of crypt() in the crypt module. As a nice side effect: This also avoids a memory sanitizer flake as clang msan doesn't know about crypt's internal libc allocated buffer.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2018-12-30-14-56-33.bpo-28503.V4kNN3.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2018-12-30-14-56-33.bpo-28503.V4kNN3.rst b/Misc/NEWS.d/next/Library/2018-12-30-14-56-33.bpo-28503.V4kNN3.rst
new file mode 100644
index 0000000..651fef1
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2018-12-30-14-56-33.bpo-28503.V4kNN3.rst
@@ -0,0 +1,2 @@
+The `crypt` module now internally uses the `crypt_r()` library function
+instead of `crypt()` when available.