Skip to content

[3.12] gh-130151: Fix reference leaks in _hashlib.hmac_{new,digest} (GH-130152) #130539

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

picnixz
Copy link
Member

@picnixz picnixz commented Feb 25, 2025

…ythonGH-130152)

* fix leak in `_hashlib.hmac_new`
* fix leak in `hmac_digest`
* fix exception type in `_hashlib.HMAC.copy`
@picnixz picnixz merged commit b1a188a into python:3.12 Feb 25, 2025
29 checks passed
@picnixz picnixz deleted the bp312-071820113f11b8f6a21f98652d0840e10268114c-hashlib-leaks branch February 25, 2025 11:38
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.

1 participant