Skip to content

Commit 38e392b

Browse files
raminfppicnixz
andauthored
Update Misc/NEWS.d/next/Library/2026-02-25-10-00-00.gh-issue-145200.m_4PAtcI.rst
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
1 parent 997dbdc commit 38e392b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
Fix memory leak in :mod:`hashlib` HMAC when ``EVP_MAC_init()`` or
2-
``HMAC_Init_ex()`` fails (e.g., with an XOF digest such as SHAKE). The
3-
``EVP_MAC_CTX`` is now freed on the error path.
1+
Fix memory leak in :mod:`hashlib` HMAC when allocating
2+
or initializing the HMAC context fails.

0 commit comments

Comments
 (0)