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

WIP: Use proper ref count handling when adding to x509 store #8233

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ColtonWilley
Copy link
Contributor

Description

Use proper ref count handling when adding to x509 store

Fixes github issue #8222

result = WOLFSSL_SUCCESS;
}
else {
result = WOLFSSL_FATAL_ERROR;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we be freeing x509 on failure to push?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Possibly, there are still additional issues with the implementation in this PR the automated tests exposed. I am currently working on resolving these new memory leaks.

@ColtonWilley ColtonWilley changed the title Use proper ref count handling when adding to x509 store WIP: Use proper ref count handling when adding to x509 store Nov 27, 2024
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