Skip to content

wincng: fix memory leak in _libssh2_dh_secret() - #858

Closed
vszakats wants to merge 1 commit into
libssh2:masterfrom
vszakats:wincng-leak-dh-secret
Closed

vszakats wants to merge 1 commit into
libssh2:masterfrom
vszakats:wincng-leak-dh-secret

Conversation

@vszakats

@vszakats vszakats commented Mar 19, 2023 •

Copy link
Copy Markdown
Member

Patch-by: iruis on github
Assisted-by: Marc Hörsken
Bug #846, commit e348709.
Fixes #856

@vszakats vszakats mentioned this pull request Mar 19, 2023
6 tasks done
@mback2k

mback2k commented Mar 19, 2023

Copy link
Copy Markdown
Member

The public block can be freed with a normal free, because it does not contain sensitive data.

@vszakats
vszakats force-pushed the wincng-leak-dh-secret branch from 3abe00e to 5ac8ea9 Compare March 19, 2023 19:04
@vszakats vszakats changed the title wincng: fix memory leak in _libssh2_dh_secret() wincng: fix memory leak in _libssh2_dh_secret() Mar 19, 2023
@vszakats vszakats closed this in 5a9944e Mar 20, 2023
@vszakats
vszakats deleted the wincng-leak-dh-secret branch March 20, 2023 00:36
agreppin pushed a commit to agreppin/libssh2 that referenced this pull request Jul 14, 2024
Patch-by: iruis on github
Assisted-by: Marc Hörsken
Bug libssh2#846, commit e348709.
Fixes libssh2#856
Closes libssh2#858
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

wincng: memory leak in _libssh2_dh_secret

2 participants