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

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs