Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d44111 commit f0c9038Copy full SHA for f0c9038
2 files changed
Misc/NEWS
@@ -106,6 +106,8 @@ Core and Builtins
106
Library
107
-------
108
109
+- Issue #25578: Fix (another) memory leak in SSLSocket.getpeercer().
110
+
111
- Issue #25590: In the Readline completer, only call getattr() once per
112
attribute.
113
Modules/_ssl.c
@@ -977,7 +977,10 @@ _get_aia_uri(X509 *certificate, int nid) {
977
AUTHORITY_INFO_ACCESS *info;
978
979
info = X509_get_ext_d2i(certificate, NID_info_access, NULL, NULL);
980
- if ((info == NULL) || (sk_ACCESS_DESCRIPTION_num(info) == 0)) {
+ if (info == NULL)
981
+ return Py_None;
982
+ if (sk_ACCESS_DESCRIPTION_num(info) == 0) {
983
+ AUTHORITY_INFO_ACCESS_free(info);
984
return Py_None;
985
}
986
0 commit comments