From 52befe11f90f2fa1efa62f1b611537e299073ec6 Mon Sep 17 00:00:00 2001 From: "timeless@mozdev.org" Date: Thu, 1 Jan 2009 15:45:23 -0800 Subject: [PATCH] Bug 470804 crash [@ NS_GetInnermostURI - nsScriptSecurityManager::CheckLoadURIWithPrincipal], r=bz, sr=dveditz --- caps/src/nsScriptSecurityManager.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/caps/src/nsScriptSecurityManager.cpp b/caps/src/nsScriptSecurityManager.cpp index b83b23439b0..0c9c66580e1 100644 --- a/caps/src/nsScriptSecurityManager.cpp +++ b/caps/src/nsScriptSecurityManager.cpp @@ -1284,6 +1284,7 @@ nsScriptSecurityManager::CheckLoadURIWithPrincipal(nsIPrincipal* aPrincipal, nsIScriptSecurityManager::DISALLOW_INHERIT_PRINCIPAL), NS_ERROR_UNEXPECTED); NS_ENSURE_ARG_POINTER(aPrincipal); + NS_ENSURE_ARG_POINTER(aTargetURI); if (aPrincipal == mSystemPrincipal) { // Allow access