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

curl: fix openssl double free during pkg_shutdown #2192

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

Conversation

rcmcdonald91
Copy link
Contributor

@rcmcdonald91 rcmcdonald91 commented Oct 19, 2023

Fixes: #2191

curl/curl#12153

We should keep this until upstream curl takes this patch.

@bapt
Copy link
Member

bapt commented Oct 23, 2023

Good catch!

I think we can get rid of the at exit handler, it does not close anything really important that won't be close by the regular stop procedure if the process.

That would avoid patching bundled libcurl. (still you work on fixing libcurl in case of being used with program calling atexit is important.

What do you think?

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.

segfault during pkg_shutdown when using openssl legacy providers and pkg+https scheme
2 participants