[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs