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

Fix memory leaks in SocketMbedTLS when closing. #527

Merged
merged 1 commit into from
Sep 27, 2024

Conversation

plmzod
Copy link
Contributor

@plmzod plmzod commented Sep 3, 2024

Hello (and thanks for this library!), I've found two leaks when using sockets with SSL/TLS and MbedTLS.
One leak about the key, and one from the new PSA layer introduced with MbedTLS 3.6.0.
The leaks are detected on Windows with VLD and on Linux with ASAN.

@bsergean
Copy link
Collaborator

Thanks for the fixes !

@bsergean bsergean merged commit d0fa8c7 into machinezone:master Sep 27, 2024
7 checks passed
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