Skip to content

openssl: drop redundant allocation and leak in ssh2_ecdh_gen_k() with OpenSSL3+ - #2696

Closed
vszakats wants to merge 1 commit into
libssh2:masterfrom
vszakats:ossl3leak-redundant-alloc
Closed

vszakats wants to merge 1 commit into
libssh2:masterfrom
vszakats:ossl3leak-redundant-alloc

Conversation

@vszakats

@vszakats vszakats commented Oct 28, 2026 •

Copy link
Copy Markdown
Member

Reported-by: Przemysław Tomaszewski
Fixes #2692
Follow-up to b0ab005 #1207

Reported-by: Przemysław Tomaszewski
Bug: libssh2#2692
Follow-up to b0ab005 libssh2#1207
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ECDH key exchange leaks BN_CTX, EVP_PKEY_CTX and peer EVP_PKEY with OpenSSL 3 (ecdh-sha2-nistp*)

1 participant