Staging
v0.8.1
https://github.com/python/cpython
Revision 472f37ab9a33050d7d50d1ebe33ba324a51c52c2 authored by Miss Islington (bot) on 09 September 2019, 13:40:42 UTC, committed by GitHub on 09 September 2019, 13:40:42 UTC

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.
(cherry picked from commit ed70129e15ea028469145111044a4349960a4e6f)

Co-authored-by: neonene <53406459+neonene@users.noreply.github.com>
1 parent 64f7f6e
History
Tip revision: 472f37ab9a33050d7d50d1ebe33ba324a51c52c2 authored by Miss Islington (bot) on 09 September 2019, 13:40:42 UTC
bpo-37702: Fix SSL's certificate-store leak on Windows (GH-15632)
Tip revision: 472f37a
File Mode Size
.azure-pipelines
.github
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Programs
Python
Tools
m4
.gitattributes -rw-r--r-- 1.6 KB
.gitignore -rw-r--r-- 1.5 KB
.travis.yml -rw-r--r-- 6.1 KB
CODE_OF_CONDUCT.rst -rw-r--r-- 631 bytes
LICENSE -rw-r--r-- 12.5 KB
Makefile.pre.in -rw-r--r-- 62.5 KB
README.rst -rw-r--r-- 9.9 KB
aclocal.m4 -rw-r--r-- 10.7 KB
config.guess -rwxr-xr-x 43.1 KB
config.sub -rwxr-xr-x 35.4 KB
configure -rwxr-xr-x 491.8 KB
configure.ac -rw-r--r-- 163.9 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 42.2 KB
setup.py -rw-r--r-- 101.3 KB

README.rst

back to top