[tor-bugs] #7164 [Tor]: microdesc.c:378: Bug: microdesc_free() called, but md was still referenced 1 node(s); held_by_nodes == 1

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Dec 16 18:58:47 UTC 2014


#7164: microdesc.c:378: Bug: microdesc_free() called, but md was still referenced
1 node(s); held_by_nodes == 1
------------------------+-------------------------------------------------
     Reporter:  jaj123  |      Owner:
         Type:  defect  |     Status:  needs_information
     Priority:  major   |  Milestone:  Tor: 0.2.???
    Component:  Tor     |    Version:  Tor: 0.2.4.19
   Resolution:          |   Keywords:  tor-client 024-backport 025-triaged
Actual Points:          |  Parent ID:
       Points:          |
------------------------+-------------------------------------------------

Comment (by cypherpunks):

 > Except maybe nodelist_add_microdesc()
 That called by:
 {{{
     networkstatus_t *ns = networkstatus_get_latest_consensus();
     if (ns && ns->flavor == FLAV_MICRODESC)
       SMARTLIST_FOREACH(added, microdesc_t *, md,
 nodelist_add_microdesc(md));
 }}}
 Where `networkstatus_get_latest_consensus` depends
 `we_use_microdescriptors_for_circuits` and would to return
 `current_ns_consensus` if relay mode enabled (generally it depends another
 options yet).

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


More information about the tor-bugs mailing list