Skip to content

Conversation

@zooba
Copy link
Member

@zooba zooba commented Sep 9, 2019

ssl_collect_certificates function in _ssl.c has a memory leak.
Calling CertOpenStore() and CertAddStoreToCollection(), a store's refcnt gets incremented by 2.
But CertCloseStore() is called only once and the refcnt leaves 1.

https://bugs.python.org/issue37702

ssl_collect_certificates function in _ssl.c has a memory leak.
Calling CertOpenStore() and CertAddStoreToCollection(), a store's refcnt gets incremented by 2.
But CertCloseStore() is called only once and the refcnt leaves 1.
@zooba zooba requested a review from tiran as a code owner September 9, 2019 12:35
@bedevere-bot bedevere-bot added type-bug An unexpected behavior, bug, or error awaiting core review labels Sep 9, 2019
@zooba zooba merged commit 5d695b6 into python:3.8 Sep 9, 2019
@zooba zooba deleted the bpo-37702-3.8 branch September 9, 2019 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants