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

tls: clear session callbacks in destructor #611

Merged
merged 1 commit into from
Dec 8, 2022

Conversation

cspiel1
Copy link
Collaborator

@cspiel1 cspiel1 commented Dec 6, 2022

This fixes a segmentation fault that appear when the tls object is freed before
the SSL object and TLS session reuse was enabled.

This fixes a segmentation fault that appear when the tls object is freed before
the SSL object and TLS session reuse was enabled.
@cspiel1
Copy link
Collaborator Author

cspiel1 commented Dec 6, 2022

This fix relates to Alfreds comment: #607 (comment)

@cspiel1 cspiel1 merged commit c76111a into baresip:main Dec 8, 2022
@cspiel1 cspiel1 deleted the tls_session_reuse_segfault branch December 8, 2022 06:17
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