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

mikeperry at torproject.org mikeperry at torproject.org
Sun Aug 16 21:15:20 UTC 2015


commit b5ded517ea69201328825c95785200cb1c5bb829
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 tbb-commits mailing list