зеркало из https://github.com/mozilla/gecko-dev.git
Bug 393309: fix null deref crash for extension install requests that have no referer, r=Mossop (deputized by dveditz), a=blocking+
This commit is contained in:
Родитель
6248136103
Коммит
e5298e70fc
|
@ -209,7 +209,8 @@ nsInstallTrigger::HandleContent(const char * aContentType,
|
|||
// site is one which is allowed to annoy the user with modal dialogs.
|
||||
|
||||
enabled = AllowInstall( referringURI );
|
||||
referringURI->GetHost(host);
|
||||
if (referringURI)
|
||||
referringURI->GetHost(host);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче