]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-130151: Fix reference leaks in `_hashlib.hmac_{new,digest}` (GH-130152...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 24 Feb 2025 08:19:49 +0000 (09:19 +0100)
committerGitHub <noreply@github.com>
Mon, 24 Feb 2025 08:19:49 +0000 (00:19 -0800)
commit86dab0e67e7e75c4c77e994b99a842f033ddbe46
treea0414826d2b09f9db514cacd05d466023f0ca0e7
parentbbfae4a912f021be44f270a63565a0bc2d156e9f
[3.13] gh-130151: Fix reference leaks in `_hashlib.hmac_{new,digest}` (GH-130152) (#130491)

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)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Misc/NEWS.d/next/Library/2025-02-15-12-36-49.gh-issue-130151.3IFumF.rst [new file with mode: 0644]
Modules/_hashopenssl.c