mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 470804 crash [@ NS_GetInnermostURI - nsScriptSecurityManager::CheckLoadURIWithPrincipal], r=bz, sr=dveditz
This commit is contained in:
parent
dd512bcb35
commit
9d1932e7d2
@ -1284,6 +1284,7 @@ nsScriptSecurityManager::CheckLoadURIWithPrincipal(nsIPrincipal* aPrincipal,
|
|||||||
nsIScriptSecurityManager::DISALLOW_INHERIT_PRINCIPAL),
|
nsIScriptSecurityManager::DISALLOW_INHERIT_PRINCIPAL),
|
||||||
NS_ERROR_UNEXPECTED);
|
NS_ERROR_UNEXPECTED);
|
||||||
NS_ENSURE_ARG_POINTER(aPrincipal);
|
NS_ENSURE_ARG_POINTER(aPrincipal);
|
||||||
|
NS_ENSURE_ARG_POINTER(aTargetURI);
|
||||||
|
|
||||||
if (aPrincipal == mSystemPrincipal) {
|
if (aPrincipal == mSystemPrincipal) {
|
||||||
// Allow access
|
// Allow access
|
||||||
|
Loading…
Reference in New Issue
Block a user