Skip to content

bpo-40645: Fix ref leaks in _hashopenssl - #26079

Merged
pablogsal merged 1 commit into
python:mainfrom
erlend-aasland:fix-hashlib-refleaks
May 12, 2021
Merged

pablogsal merged 1 commit into
python:mainfrom
erlend-aasland:fix-hashlib-refleaks

Conversation

@erlend-aasland

@erlend-aasland erlend-aasland commented May 12, 2021 •

Copy link
Copy Markdown
Contributor
@erlend-aasland

Copy link
Copy Markdown
Contributor Author

cc. @encukou

@erlend-aasland

Copy link
Copy Markdown
Contributor Author

Backport to 3.10, @pablogsal ?

@pablogsal

Copy link
Copy Markdown
Member

Yup, and to any version that has this problem. Can you add the labels?

@erlend-aasland

erlend-aasland commented May 12, 2021 •

Copy link
Copy Markdown
Contributor Author

Yup, and to any version that has this problem. Can you add the labels?

GH-26072 is (currently) only being backported to 3.10, so for now I'm only adding the 3.10 label. I'll check 3.9 asap and add to both PR's if necessary. BTW, #26072 needs manual backporting.

UPDATE: Seems like the code in question was added in 933dfd7. Backporting to 3.10 should be sufficient.

@pablogsal
pablogsal merged commit 504ffda into python:main May 12, 2021
@miss-islington

Copy link
Copy Markdown
Contributor

Thanks @erlend-aasland for the PR, and @pablogsal for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10.
🐍🍒⛏🤖

@erlend-aasland
erlend-aasland deleted the fix-hashlib-refleaks branch May 12, 2021 18:20
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 12, 2021
(cherry picked from commit 504ffda)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
@bedevere-bot

Copy link
Copy Markdown

GH-26082 is a backport of this pull request to the 3.10 branch.

@pablogsal

Copy link
Copy Markdown
Member

Yup, and to any version that has this problem. Can you add the labels?

GH-26072 is (currently) only being backported to 3.10, so for now I'm only adding the 3.10 label. I'll check 3.9 asap and add to both PR's if necessary. BTW, #26072 needs manual backporting.

UPDATE: Seems like the code in question was added in 933dfd7. Backporting to 3.10 should be sufficient.

Fantastic. Thanks a lot for the patch 🎉

miss-islington added a commit that referenced this pull request May 12, 2021
(cherry picked from commit 504ffda)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
stratakis pushed a commit to stratakis/cpython that referenced this pull request Aug 5, 2021
(cherry picked from commit 504ffda)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
encukou pushed a commit to encukou/cpython that referenced this pull request Sep 8, 2021
…, pythonGH-26079)

This backports the feature and 2 subsequent bugfixes
from: https://bugs.python.org/issue40645

Signed-off-by: Christian Heimes <christian@python.org>
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
Co-Authored-By: Pablo Galindo <Pablogsal@gmail.com>
stratakis pushed a commit to stratakis/cpython that referenced this pull request Jan 18, 2022
…, pythonGH-26079)

This backports the feature and 2 subsequent bugfixes
from: https://bugs.python.org/issue40645

Signed-off-by: Christian Heimes <christian@python.org>
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
Co-Authored-By: Pablo Galindo <Pablogsal@gmail.com>
stratakis pushed a commit to stratakis/cpython that referenced this pull request Jan 21, 2022
…, pythonGH-26079)

This backports the feature and 2 subsequent bugfixes
from: https://bugs.python.org/issue40645

Signed-off-by: Christian Heimes <christian@python.org>
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
Co-Authored-By: Pablo Galindo <Pablogsal@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

5 participants