◐ Shell
reader mode source ↗
Skip to content

[3.7] bpo-28503: Use crypt_r() when available instead of crypt() (GH-11373)#11376

Merged
gpshead merged 1 commit into
python:3.7from
miss-islington:backport-387512c-3.7
Dec 31, 2018
Merged

[3.7] bpo-28503: Use crypt_r() when available instead of crypt() (GH-11373)#11376
gpshead merged 1 commit into
python:3.7from
miss-islington:backport-387512c-3.7

Conversation

@miss-islington

@miss-islington miss-islington commented Dec 30, 2018

Copy link
Copy Markdown
Contributor

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 387512c)

Co-authored-by: Gregory P. Smith greg@krypto.org

https://bugs.python.org/issue28503

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

Co-authored-by: Gregory P. Smith <greg@krypto.org>
@miss-islington

Copy link
Copy Markdown
Contributor Author

@gpshead: Status check is done, and it's a success ✅ .

@gpshead gpshead merged commit a144fee into python:3.7 Dec 31, 2018
@miss-islington miss-islington deleted the backport-387512c-3.7 branch December 31, 2018 01:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants