зеркало из https://github.com/mozilla/gecko-dev.git
Bug 528184 - Invalid read, missing null check in nsNSSIOLayer.cpp. r=kaie
This commit is contained in:
Родитель
1e97689583
Коммит
284d0a4d47
|
@ -403,8 +403,9 @@ nsNSSSocketInfo::EnsureDocShellDependentStuffKnown()
|
|||
docshell.get(),
|
||||
NS_PROXY_SYNC,
|
||||
getter_AddRefs(proxiedDocShell));
|
||||
nsISecureBrowserUI* secureUI;
|
||||
proxiedDocShell->GetSecurityUI(&secureUI);
|
||||
nsISecureBrowserUI* secureUI = nsnull;
|
||||
if (proxiedDocShell)
|
||||
proxiedDocShell->GetSecurityUI(&secureUI);
|
||||
if (secureUI)
|
||||
{
|
||||
nsCOMPtr<nsIThread> mainThread(do_GetMainThread());
|
||||
|
|
Загрузка…
Ссылка в новой задаче