1
0
mirror of https://github.com/winscp/winscp.git synced 2026-10-24 02:28:55 +03:00

Issue 2476 – Memory leak in encrypted HTTP/S3/WebDAV connections

https://winscp.net/tracker/2476
(cherry picked from commit 4436072fa4)

Source commit: c4e5441cb5162b6ad175686ed29c717a2e005807
This commit is contained in:
Martin Prikryl
2026-10-22 14:48:37 +00:00
parent 24e7b4ec10
commit 4c10ccd511

View File

@@ -594,7 +594,7 @@ static int new_ssl_session(SSL *ssl, SSL_SESSION *sslsess)
NE_DEBUG(NE_DBG_SSL, "sslsess: New session callback: %s.\n",
SSL_SESSION_is_resumable(sslsess) ? "resumable" : "not resumable");
sctx->sess = SSL_SESSION_dup(sslsess);
sctx->sess = sslsess; // WINSCP
return 1;
}