pkg icon indicating copy to clipboard operation
pkg copied to clipboard

curl: fix openssl double free during pkg_shutdown

Open rcmcdonald91 opened this issue 8 months ago • 1 comments

Fixes: https://github.com/freebsd/pkg/issues/2191

https://github.com/curl/curl/pull/12153

We should keep this until upstream curl takes this patch.

rcmcdonald91 avatar Oct 19 '23 00:10 rcmcdonald91

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?

bapt avatar Oct 23 '23 21:10 bapt