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

Source commit: 45dbb0fae90b5bfd3b728375b7dbd94ef9ce884d
This commit is contained in:
Martin Prikryl
2026-10-22 14:48:37 +00:00
parent 6f39a04987
commit 4436072fa4

View File

@@ -606,7 +606,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;
}