[tor-bugs] #11649 [Tor]: Memory leak when parsing broken microdescriptors

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Apr 29 21:16:18 UTC 2014


#11649: Memory leak when parsing broken microdescriptors
-------------------------+-------------------------------------------------
     Reporter:  nickm    |      Owner:
         Type:  defect   |     Status:  needs_review
     Priority:  major    |  Milestone:  Tor: 0.2.5.x-final
    Component:  Tor      |    Version:
   Resolution:           |   Keywords:  tor-client 024-backport
Actual Points:           |  023-backport memory-leak valgrind
       Points:           |  Parent ID:
-------------------------+-------------------------------------------------

Comment (by cypherpunks):

 tokens allocated from memarea's space, if memarea_clear(area) not frees
 allocated memory (is it some tokens allocated not by memarea funcs?) then
 why memarea_drop_all can? Then why memleak on failure only?
 It's no memleak or memleak for success parsing too. What am I missed?

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


More information about the tor-bugs mailing list