[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:16:28 UTC 2016


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

 * status:  needs_information => needs_revision


Comment:

 {{{
    if (CIRCUIT_IS_ORIGIN(circ)) {
 -    if (pathbias_check_close(TO_ORIGIN_CIRCUIT(circ), reason) == -1) {
 +    if (pathbias_check_close(TO_ORIGIN_CIRCUIT(circ), reason) == -1 &&
 +        circ->n_chan) {
        /* Don't close it yet, we need to test it first */
        return;
      }
 }}}
 Maybe?

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


More information about the tor-bugs mailing list