[tor-bugs] #8185 [Core Tor/Tor]: circuit_package_relay_cell(): Bug: outgoing relay cell has n_chan==NULL. Dropping.

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Apr 22 15:09:22 UTC 2016


#8185: circuit_package_relay_cell(): Bug: outgoing relay cell has n_chan==NULL.
Dropping.
------------------------------------------+--------------------------------
 Reporter:  mr-4                          |          Owner:
     Type:  defect                        |         Status:
 Priority:  Medium                        |  needs_information
Component:  Core Tor/Tor                  |      Milestone:  Tor:
 Severity:  Normal                        |  0.2.9.x-final
 Keywords:  tor-relay, TorCoreTeam201604  |        Version:  Tor:
Parent ID:                                |  0.2.4.9-alpha
 Reviewer:  isis                          |     Resolution:
                                          |  Actual Points:
                                          |         Points:  medium
                                          |        Sponsor:
------------------------------------------+--------------------------------
Changes (by cypherpunks):

 * status:  needs_review => needs_information


Comment:

 >  thus marks circuit for close, clears n_chan, while keeps strteams
 attached to marked for close circuit.
 No. Seems like wrong patch. `circuit_mark_for_close` calls
 {{{
     origin_circuit_t *ocirc = TO_ORIGIN_CIRCUIT(circ);
     edge_connection_t *conn;
     for (conn=ocirc->p_streams; conn; conn=conn->next_stream)
       connection_edge_destroy(circ->n_circ_id, conn);
     ocirc->p_streams = NULL;
 }}}
 Marked for close circuit has no attached streams.

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


More information about the tor-bugs mailing list