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

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Mar 6 11:35:05 UTC 2016


#8185: circuit_package_relay_cell(): Bug: outgoing relay cell has n_chan==NULL.
Dropping.
------------------------------------+------------------------------------
 Reporter:  mr-4                    |          Owner:
     Type:  defect                  |         Status:  needs_information
 Priority:  Medium                  |      Milestone:  Tor: 0.2.???
Component:  Tor                     |        Version:  Tor: 0.2.4.9-alpha
 Severity:  Normal                  |     Resolution:
 Keywords:  tor-relay 024-backport  |  Actual Points:
Parent ID:                          |         Points:
  Sponsor:                          |
------------------------------------+------------------------------------

Comment (by cypherpunks):

 {{{
  relay_send_command_from_edge_(streamid_t stream_id, circuit_t *circ,
                                uint8_t relay_command, const char *payload,
                                size_t payload_len, crypt_path_t
 *cpath_layer,
                                const char *filename, int lineno)
  {
    cell_t cell;
    relay_header_t rh;
    cell_direction_t cell_direction;
    /* XXXX NM Split this function into a separate versions per circuit
 type? */

    tor_assert(circ);
    tor_assert(payload_len <= RELAY_PAYLOAD_SIZE);

 +  if (circ->marked_for_close) /* XXX bug, race, normal? */
 +    return -1;
 }}}

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


More information about the tor-bugs mailing list