[tor-bugs] #9701 [Firefox Patch Issues]: Prevent TorBrowser from creating clipboardcache turds

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri May 16 16:48:22 UTC 2014


#9701: Prevent TorBrowser from creating clipboardcache turds
-------------------------------------+-------------------------------------
     Reporter:  cypherpunks          |      Owner:  mikeperry
         Type:  defect               |     Status:  needs_review
     Priority:  normal               |  Milestone:
    Component:  Firefox Patch        |    Version:
  Issues                             |   Keywords:  tbb-disk-leak,
   Resolution:                       |  interview, GeorgKoppen201405
Actual Points:                       |  Parent ID:
       Points:                       |
-------------------------------------+-------------------------------------

Comment (by michael):

 DataStruct::WriteCache and nsIOutputStream::Write don't deallocate the
 memory in aData. If you look closely, nsMemory::Free(buff) only frees the
 'buff' memory that was deep copied from aData by
 nsPrimitiveHelpers::CreateDataFromPrimitive.

 Before proposing a preference, it might be wise to do a real world test to
 confirm this. If confirmed it makes no sense producing the cache disk
 files under any conditions (even the stock Firefox) whatsoever.

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


More information about the tor-bugs mailing list