-
Notifications
You must be signed in to change notification settings - Fork 528
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 (#1952)
Squid may crash when the SquidConfig global is auto-destructed after main() ends. Since SquidConfig global is used by cleanup code, we should keep its fields alive, essentially emulating "No New Globals" policy effects. This surgical fix will be followed up with more changes to address general OpenSSL cleanup problems exposed by this bug. This bug fix facilitates backporting by using FuturePeerContext shim.
- Loading branch information
1 parent
ee98993
commit c565067
Showing
2 changed files
with
10 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