[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit b5ded517ea69201328825c95785200cb1c5bb829
Author: Arthur Edelstein <arthuredelstein@xxxxxxxxx>
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) {

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits