Skip to content

bpo-32635: Fix a segfault when importing the crypt module with libxcrypt.#5284

Merged
vstinner merged 1 commit into
python:masterfrom
stratakis:libxcrypt
Jan 23, 2018
Merged

bpo-32635: Fix a segfault when importing the crypt module with libxcrypt.#5284
vstinner merged 1 commit into
python:masterfrom
stratakis:libxcrypt

Conversation

@stratakis

@stratakis stratakis commented Jan 23, 2018

Copy link
Copy Markdown
Contributor

glibc is deprecating libcrypt in favor of libxcrypt, however python assumes
that crypt.h will always be included. This change makes the header inclusion
explicit when libxcrypt is present on the system.

https://bugs.python.org/issue32635

…rypt.

glibc is deprecating libcrypt in favor of libxcrypt, however python assumes
that crypt.h will always be included. This change makes the header inclusion
explicit when libxcrypt is present on the system.

@vstinner vstinner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@miss-islington

Copy link
Copy Markdown
Contributor

Thanks @stratakis for the PR, and @vstinner for merging it 🌮🎉.. I'm working now to backport this PR to: 2.7.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

@miss-islington

Copy link
Copy Markdown
Contributor

Thanks @stratakis for the PR, and @vstinner for merging it 🌮🎉.. I'm working now to backport this PR to: 3.6.
🐍🍒⛏🤖

@bedevere-bot

Copy link
Copy Markdown

GH-5295 is a backport of this pull request to the 2.7 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jan 24, 2018
…ypt. (pythonGH-5284)

glibc is deprecating libcrypt in favor of libxcrypt, however python assumes
that crypt.h will always be included. This change makes the header inclusion
explicit when libxcrypt is present on the system.
(cherry picked from commit e768c86)
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jan 24, 2018
…ypt. (pythonGH-5284)

glibc is deprecating libcrypt in favor of libxcrypt, however python assumes
that crypt.h will always be included. This change makes the header inclusion
explicit when libxcrypt is present on the system.
(cherry picked from commit e768c86)
@bedevere-bot

Copy link
Copy Markdown

GH-5296 is a backport of this pull request to the 3.6 branch.

vstinner pushed a commit that referenced this pull request Jan 24, 2018
…ypt. (GH-5284) (#5295)

glibc is deprecating libcrypt in favor of libxcrypt, however python assumes
that crypt.h will always be included. This change makes the header inclusion
explicit when libxcrypt is present on the system.
(cherry picked from commit e768c86)
@stratakis stratakis deleted the libxcrypt branch January 24, 2018 10:02
vstinner pushed a commit that referenced this pull request Jan 24, 2018
…ypt. (GH-5284) (#5296)

glibc is deprecating libcrypt in favor of libxcrypt, however python assumes
that crypt.h will always be included. This change makes the header inclusion
explicit when libxcrypt is present on the system.
(cherry picked from commit e768c86)
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.

6 participants