-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
webif/ghttp/ssl: Do not leak memory allocated by openssl.
This patch does several related things: 1. Moves SSL initialization in one place (using it from two threads can cause undefined behaviour). 2. Clean openssl allocated context if ssl initialization in webif failed for some reason (not founding certificate file for example). 3. Clear memory after openssl error functions are called. git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@10470 4b0bc96b-bc66-0410-9d44-ebda105a78c1
- Loading branch information
Showing
4 changed files
with
59 additions
and
32 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
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