]> granicus.if.org Git - python/commit
bpo-28503: Use crypt_r() when available instead of crypt() (GH-11373)
authorGregory P. Smith <greg@krypto.org>
Sun, 30 Dec 2018 23:42:32 +0000 (15:42 -0800)
committerGitHub <noreply@github.com>
Sun, 30 Dec 2018 23:42:32 +0000 (15:42 -0800)
commit387512c7ecde6446f2e29408af2e16b9fc043807
tree66e991863076343981c7577cdbf2434449322f55
parent1b29c03c95dbffa05f2bac0f8f1a36b21606a504
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.
Include/Python.h
Misc/NEWS.d/next/Library/2018-12-30-14-56-33.bpo-28503.V4kNN3.rst [new file with mode: 0644]
Modules/_cryptmodule.c
configure
configure.ac
pyconfig.h.in