]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-28503: Use crypt_r() when available instead of crypt() (GH-11373) (GH-11376)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 31 Dec 2018 01:59:52 +0000 (17:59 -0800)
committerGregory P. Smith <greg@krypto.org>
Mon, 31 Dec 2018 01:59:52 +0000 (17:59 -0800)
commita144feeb7ec501aaf30072d50e70d54b200e5ef0
treea650f1154811346fe4cac097b097688a28664cb1
parent01b9664740307b39c2907bd84cbb0b2c35be9df4
bpo-28503: Use crypt_r() when available instead of crypt() (GH-11373) (GH-11376)

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.
(cherry picked from commit 387512c7ecde6446f2e29408af2e16b9fc043807)

Co-authored-by: Gregory P. Smith <greg@krypto.org> [Google]
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