]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-36179: Fix ref leaks in _hashopenssl (GH-12158)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 4 Mar 2019 16:17:30 +0000 (08:17 -0800)
committerGitHub <noreply@github.com>
Mon, 4 Mar 2019 16:17:30 +0000 (08:17 -0800)
commita59d33a1b08bd3dc9dc2584d4360ca81b0f1ad49
tree7e159bbf4f20ceb2d043b5f00b1cdce825d5661c
parent06e9953d5e3f0144ec8247b61541e7be85d55b50
bpo-36179: Fix ref leaks in _hashopenssl (GH-12158)

Fix two unlikely reference leaks in _hashopenssl. The leaks only occur in
out-of-memory cases. Thanks to Charalampos Stratakis.

Signed-off-by: Christian Heimes <christian@python.org>
https://bugs.python.org/issue36179
(cherry picked from commit b7bc283ab6a23ee98784400ebffe7fe410232a2e)

Co-authored-by: Christian Heimes <christian@python.org>
Misc/NEWS.d/next/Library/2019-03-04-10-42-46.bpo-36179.jEyuI-.rst [new file with mode: 0644]
Modules/_hashopenssl.c