[tor-bugs] #9701 [Tor Browser]: Prevent TorBrowser from creating clipboardcache turds

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Jan 15 01:32:15 UTC 2015


#9701: Prevent TorBrowser from creating clipboardcache turds
-------------------------+-------------------------------------------------
     Reporter:           |      Owner:  mikeperry
  cypherpunks            |     Status:  needs_revision
         Type:  defect   |  Milestone:
     Priority:  normal   |    Version:
    Component:  Tor      |   Keywords:  tbb-disk-leak, interview, tbb-
  Browser                |  firefox-patch, TorBrowserTeam201501
   Resolution:           |  Parent ID:
Actual Points:           |
       Points:           |
-------------------------+-------------------------------------------------

Comment (by michael):

 {{{void DataStruct::SetData ( nsISupports* aData, uint32_t aDataLen )}}}

 After new trials like:

 {{{
 nsCOMPtr<nsIChannel> aChannel(do_QueryInterface(aData, &rv));
 nsCOMPtr<nsIDOMWindow> aWin(do_QueryInterface(aData, &rv));
 nsCOMPtr<nsIDOMChromeWindow> aChromeWin(do_QueryInterface(aData, &rv));
 nsCOMPtr<nsILoadContext> aLoadContext(do_QueryInterface(aData, &rv));
 }}}

 ...in every case rv == NS_NOINTERFACE, with the exception of:

 {{{nsCOMPtr<nsISupportsString> aSuppStr(do_QueryInterface(aData, &rv));}}}

 So the recent suggestions to 'get a top level chrome window' or to
 'reverse engineer the JavaScript PrivateBrowsingUtils module' seem
 misguided. Maybe Firefox runtime exposes undocumented
 window/document/channel globals?

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/9701#comment:27>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list