mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 415213, uninitialized variables in PSM r=rrelyea, a1.9=dsicore
This commit is contained in:
parent
12da382dc2
commit
6ce364ef47
@ -996,7 +996,7 @@ nsresult nsSecureBrowserUIImpl::UpdateSecurityState(nsIRequest* aRequest)
|
||||
lockIconState newSecurityState;
|
||||
|
||||
PRBool showWarning = PR_FALSE;
|
||||
lockIconState warnSecurityState;
|
||||
lockIconState warnSecurityState = lis_no_security;
|
||||
|
||||
if (mNewToplevelSecurityState & STATE_IS_SECURE)
|
||||
{
|
||||
|
@ -74,6 +74,7 @@ public:
|
||||
PRBool ensure_buffer_size(PRInt32 amount);
|
||||
|
||||
enum ssl_state {
|
||||
ssl_invalid, // used for initializating, should never occur
|
||||
ssl_idle, // not in use by SSL thread, no activity pending
|
||||
ssl_pending_write, // waiting for SSL thread to complete writing
|
||||
ssl_pending_read, // waiting for SSL thread to complete reading
|
||||
|
@ -94,9 +94,9 @@ nsRecentBadCertsService::GetRecentBadCert(const nsAString & aHostNameWithPort,
|
||||
foundDER.len = 0;
|
||||
foundDER.data = nsnull;
|
||||
|
||||
PRBool isDomainMismatch;
|
||||
PRBool isNotValidAtThisTime;
|
||||
PRBool isUntrusted;
|
||||
PRBool isDomainMismatch = PR_FALSE;
|
||||
PRBool isNotValidAtThisTime = PR_FALSE;
|
||||
PRBool isUntrusted = PR_FALSE;
|
||||
|
||||
{
|
||||
nsAutoMonitor lock(monitor);
|
||||
|
@ -489,7 +489,7 @@ PRInt32 nsSSLThread::requestRead(nsNSSSocketInfo *si, void *buf, PRInt32 amount,
|
||||
|
||||
PRBool this_socket_is_busy = PR_FALSE;
|
||||
PRBool some_other_socket_is_busy = PR_FALSE;
|
||||
nsSSLSocketThreadData::ssl_state my_ssl_state;
|
||||
nsSSLSocketThreadData::ssl_state my_ssl_state = nsSSLSocketThreadData::ssl_invalid;
|
||||
PRFileDesc *blockingFD = nsnull;
|
||||
|
||||
{
|
||||
@ -716,7 +716,7 @@ PRInt32 nsSSLThread::requestWrite(nsNSSSocketInfo *si, const void *buf, PRInt32
|
||||
|
||||
PRBool this_socket_is_busy = PR_FALSE;
|
||||
PRBool some_other_socket_is_busy = PR_FALSE;
|
||||
nsSSLSocketThreadData::ssl_state my_ssl_state;
|
||||
nsSSLSocketThreadData::ssl_state my_ssl_state = nsSSLSocketThreadData::ssl_invalid;
|
||||
PRFileDesc *blockingFD = nsnull;
|
||||
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user