]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[2.7] bpo-36179: Fix ref leaks in _hashopenssl (GH-12158) (GH-12166)
authorChristian Heimes <christian@python.org>
Mon, 4 Mar 2019 17:10:45 +0000 (18:10 +0100)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 4 Mar 2019 17:10:45 +0000 (09:10 -0800)
commit84b5ac9ba6fd71ba9d0ef98e2a166a35189b263f
tree1956a80e4bc31767512eac76df8cb230ffdfb06b
parent710dcfd2f4bee034894a39026388f9c21ea976f1
[2.7] bpo-36179: Fix ref leaks in _hashopenssl (GH-12158) (GH-12166)

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>
https://bugs.python.org/issue36179
Misc/NEWS.d/next/Library/2019-03-04-10-42-46.bpo-36179.jEyuI-.rst [new file with mode: 0644]
Modules/_hashopenssl.c