[tor-bugs] #7472 [Tor]: Audit all calls to connection_mark_for_close()

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Mar 24 21:06:59 UTC 2014


#7472: Audit all calls to connection_mark_for_close()
------------------------+--------------------------------
     Reporter:  andrea  |      Owner:  andrea
         Type:  task    |     Status:  new
     Priority:  normal  |  Milestone:  Tor: 0.2.5.x-final
    Component:  Tor     |    Version:  Tor: 0.2.4.5-alpha
   Resolution:          |   Keywords:  tor-relay
Actual Points:          |  Parent ID:
       Points:          |
------------------------+--------------------------------

Comment (by andrea):

 * conn_write_callback():
    - This is safe iff connection_handle_write() always marks for close
 when it fails.  The only cases where it returns failure without marking
 for close itself are when it passes along failure from
 connection_finished_connecting() or connection_finished_flushing().

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


More information about the tor-bugs mailing list