[tor-bugs] #31366 [- Select a component]: Move the connection_edge_process_relay_cell() assignment out of the if statement in circuit_receive_relay_cell()

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Aug 8 00:34:23 UTC 2019


#31366: Move the connection_edge_process_relay_cell() assignment out of the if
statement in circuit_receive_relay_cell()
--------------------------------------+----------------------
     Reporter:  neel                  |      Owner:  neel
         Type:  defect                |     Status:  assigned
     Priority:  Medium                |  Milestone:
    Component:  - Select a component  |    Version:
     Severity:  Normal                |   Keywords:
Actual Points:                        |  Parent ID:
       Points:                        |   Reviewer:
      Sponsor:                        |
--------------------------------------+----------------------
 As mentioned in #31207 by nickm:

 >This is fine. I'd also take a patch to extract the assignment entirely,
 since using assignment in this way is error-prone.

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


More information about the tor-bugs mailing list