Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix: Let axc_context_destroy_all() free ctx passed to it. #23

Merged
merged 1 commit into from
Jan 17, 2021

Conversation

root-hardenedvault
Copy link
Contributor

The project is using axc (e.g. lurch) assumes axc_context_destroy_all()
will free the ctx passed to it, but axc_context_destroy_all() actually only
cleans up its members, without freeing itself, which will cause severe memory
leak.

Signed-off-by: HardenedVault root@hardenedvault.net

The project is using axc (e.g. lurch) assumes axc_context_destroy_all()
will free the ctx passed to it, but axc_context_destroy_all() actually only
cleans up its members, without freeing itself, which will cause severe memory
leak.

Signed-off-by: HardenedVault <root@hardenedvault.net>
@gkdr
Copy link
Owner

gkdr commented Jan 6, 2021

good find, thank you!

@gkdr gkdr changed the base branch from master to dev January 6, 2021 19:41
@gkdr gkdr merged commit 431ff6a into gkdr:dev Jan 17, 2021
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.

2 participants