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

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



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