[tor-bugs] #8719 [Tor]: memory leak when we get a consensus but don't have enough certs to check it

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Apr 17 15:46:31 UTC 2013


#8719: memory leak when we get a consensus but don't have enough certs to check it
--------------------+-------------------------------------------------------
 Reporter:  arma    |          Owner:                    
     Type:  defect  |         Status:  new               
 Priority:  normal  |      Milestone:  Tor: 0.2.4.x-final
Component:  Tor     |        Version:                    
 Keywords:          |         Parent:                    
   Points:          |   Actualpoints:                    
--------------------+-------------------------------------------------------
 {{{
 ==8808== 685,222 bytes in 1 blocks are definitely lost in loss record 28
 of 28
 ==8808==    at 0x4C28BED: malloc (in /usr/lib/valgrind/vgpreload_memcheck-
 amd64
 -linux.so)
 ==8808==    by 0x5FDEB41: strdup (strdup.c:43)
 ==8808==    by 0x22114D: tor_strdup_ (util.c:240)
 ==8808==    by 0x1275A0: networkstatus_set_current_consensus
 (networkstatus.c:1718)
 ==8808==    by 0x1E555B: connection_dir_client_reached_eof
 (directory.c:1875)
 ==8808==    by 0x1E6F28: connection_dir_reached_eof (directory.c:2311)
 ==8808==    by 0x1C1496: connection_handle_read (connection.c:4119)
 ==8808==    by 0x11DEA0: conn_read_callback (main.c:718)
 ==8808==    by 0x52D8CCB: event_base_loop (in /usr/lib/x86_64-linux-
 gnu/libevent-2.0.so.5.1.7)
 ==8808==    by 0x11E834: do_main_loop (main.c:1980)
 ==8808==    by 0x12001D: tor_main (main.c:2696)
 ==8808==    by 0x5F7CEAC: (below main) (libc-start.c:228)
 }}}

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


More information about the tor-bugs mailing list