[tor-bugs] #9644 [Tor]: Memory leak in get_cert_list() when the client bootstraps
Tor Bug Tracker & Wiki
blackhole at torproject.org
Mon Sep 2 04:28:22 UTC 2013
#9644: Memory leak in get_cert_list() when the client bootstraps
--------------------+------------------------------------
Reporter: arma | Owner:
Type: defect | Status: new
Priority: normal | Milestone: Tor: 0.2.4.x-final
Component: Tor | Version:
Keywords: | Actual Points:
Parent ID: | Points:
--------------------+------------------------------------
Running release-0.2.4 (git commit 20d4356c3) as a Tor client. I let it
bootstrap its directory info, and then kill it.
{{{
==27498== 216 bytes in 9 blocks are definitely lost in loss record 14 of
21
==27498== at 0x4C28BED: malloc (in /usr/lib/valgrind
/vgpreload_memcheck-amd64-linux.so)
==27498== by 0x222FE7: tor_malloc_ (util.c:143)
==27498== by 0x21AC5D: digestmap_new (container.c:1038)
==27498== by 0x15A63E: get_cert_list (routerlist.c:48)
==27498== by 0x15B7FD: authority_certs_fetch_missing (routerlist.c:692)
==27498== by 0x127848: networkstatus_set_current_consensus
(networkstatus.c:1724)
==27498== by 0x1E652B: connection_dir_client_reached_eof
(directory.c:1900)
==27498== by 0x1E7F68: connection_dir_reached_eof (directory.c:2356)
==27498== by 0x1C2406: connection_handle_read (connection.c:4122)
==27498== by 0x11DFE0: conn_read_callback (main.c:718)
==27498== by 0x52D8CCB: event_base_loop (in /usr/lib/x86_64-linux-
gnu/libevent-2.0.so.5.1.7)
==27498== by 0x11E974: do_main_loop (main.c:1987)
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/9644>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list