[tor-bugs] #11275 [Tor]: memory leak in router_append_dirobj_signature()

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Mar 23 03:54:10 UTC 2014


#11275: memory leak in router_append_dirobj_signature()
------------------------+--------------------------------
     Reporter:  arma    |      Owner:
         Type:  defect  |     Status:  new
     Priority:  normal  |  Milestone:  Tor: 0.2.5.x-final
    Component:  Tor     |    Version:
   Resolution:          |   Keywords:
Actual Points:          |  Parent ID:
       Points:          |
------------------------+--------------------------------

Comment (by arma):

 And then there's this one, which might be related or might be different:
 {{{
 ==7518== 1,920 bytes in 6 blocks are definitely lost in loss record 30 of
 32
 ==7518==    at 0x4C244E8: malloc (vg_replace_malloc.c:236)
 ==7518==    by 0x501A87: tor_malloc_ (util.c:162)
 ==7518==    by 0x46B9FA: router_get_dirobj_signature (routerparse.c:667)
 ==7518==    by 0x46BB0B: router_append_dirobj_signature
 (routerparse.c:704)
 ==7518==    by 0x44A6F9: rend_encode_v2_descriptors (rendcommon.c:635)
 ==7518==    by 0x44C4B4: upload_service_descriptor (rendservice.c:2867)
 ==7518==    by 0x44CA17: rend_consider_services_upload
 (rendservice.c:3223)
 ==7518==    by 0x42F77C: second_elapsed_callback (main.c:1536)
 ==7518==    by 0x52C9343: event_base_loop (in
 /usr/lib/libevent-1.4.so.2.1.3)
 ==7518==    by 0x42C2B0: do_main_loop (main.c:2009)
 ==7518==    by 0x42D034: tor_main (main.c:2882)
 ==7518==    by 0x5EFEC8C: (below main) (libc-start.c:228)
 }}}

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


More information about the tor-bugs mailing list