forked from squid-cache/squid
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 5390: Non-POD SquidConfig::ssl_client::sslContext exit crash
Squid may crash when SquidConfig global destruction is initiated by exit() handlers. The problem is that when its non-POD ssl_client::sslContext field is destructed and and SSL_CTX_free() cleanup starts, some of the required SSL environment may be already unavailable. Now we avoid these problems by allocating ssl_client::sslContext dynamically and ensuring that its destructor never starts.
- Loading branch information
1 parent
c8ea6a3
commit e6f30ce
Showing
2 changed files
with
7 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters