]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-130151: Fix reference leaks in `_hashlib.hmac_{new,digest}` (GH-130152...
authorBénédikt Tran <10796600+picnixz@users.noreply.github.com>
Tue, 25 Feb 2025 11:38:47 +0000 (12:38 +0100)
committerGitHub <noreply@github.com>
Tue, 25 Feb 2025 11:38:47 +0000 (12:38 +0100)
commitb1a188a7faa76949ef621a5ecac38b9fccae05cc
treec3a2717bf71c9d0900d0727e0279ccd102096080
parentdef2ee1280fa1efcf75fdff6db6ce07530f4cc10
[3.12] gh-130151: Fix reference leaks in `_hashlib.hmac_{new,digest}` (GH-130152) (#130539)

gh-130151: Fix reference leaks in `_hashlib.hmac_{new,digest}` (GH-130152)

* fix leak in `_hashlib.hmac_new`
* fix leak in `hmac_digest`
* fix exception type in `_hashlib.HMAC.copy`
(cherry picked from commit 071820113f11b8f6a21f98652d0840e10268114c)
Misc/NEWS.d/next/Library/2025-02-15-12-36-49.gh-issue-130151.3IFumF.rst [new file with mode: 0644]
Modules/_hashopenssl.c