1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00
pip/news/5366.bugfix
Paul Kehrer ba80574225 Fix a rare segfault
If pip10 is installed and pyopenssl+cryptography are present in the
environment pip's vendored urllib3 will automatically activate its
pyopenssl adapter. This is by design so users can potentially opt-in to
more up-to-date TLS versions than what are provided by their copy of
Python. However, if a user has these packages & subsequently runs
pip install --ignore-installed cryptography then a segfault will occur
due to overwriting an mmap'd shared object.
2018-05-14 13:34:33 -04:00

2 lines
97 B
Plaintext

Check for file existence and unlink first when clobbering existing files during a wheel install.