[tor-commits] [tor-browser/tor-browser-38.2.0esr-5.0-1] fixup! Bug #15502. Isolate blob, mediasource & mediastream URLs to first party

mikeperry at torproject.org mikeperry at torproject.org
Sun Aug 16 20:53:56 UTC 2015


commit 52e988762c262920f52a7f4b9b89c64f04da3c4c
Author: Arthur Edelstein <arthuredelstein at gmail.com>
Date:   Wed Aug 12 12:26:34 2015 -0700

    fixup! Bug #15502. Isolate blob, mediasource & mediastream URLs to first party
---
 dom/base/nsHostObjectProtocolHandler.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dom/base/nsHostObjectProtocolHandler.cpp b/dom/base/nsHostObjectProtocolHandler.cpp
index 429938b..114b45c 100644
--- a/dom/base/nsHostObjectProtocolHandler.cpp
+++ b/dom/base/nsHostObjectProtocolHandler.cpp
@@ -351,7 +351,7 @@ nsHostObjectProtocolHandler::RemoveDataEntry(const nsACString& aUri,
 {
   if (gDataTable) {
     DataInfo* info = GetDataInfo(aUri);
-    if (info->mFirstPartyHost == aIsolationKey) {
+    if (info && info->mFirstPartyHost == aIsolationKey) {
       nsCString uriIgnoringRef;
       int32_t hashPos = aUri.FindChar('#');
       if (hashPos < 0) {



More information about the tor-commits mailing list