[tor-bugs] #16849 [Core Tor/Tor]: clear_status_flags_on_sybil might want to clear more flags

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Feb 8 21:18:35 UTC 2018


#16849: clear_status_flags_on_sybil might want to clear more flags
-------------------------------------------------+-------------------------
 Reporter:  teor                                 |          Owner:
                                                 |  ffmancera
     Type:  defect                               |         Status:
                                                 |  needs_review
 Priority:  High                                 |      Milestone:  Tor:
                                                 |  0.3.4.x-final
Component:  Core Tor/Tor                         |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  easy, SponsorS-deferred, technical-  |  Actual Points:
  debt tor-dirauth pending-disaster              |
Parent ID:                                       |         Points:  small
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by nickm):

 >  It's been 2 years since this ticket was opened, are there's any new
 flags we should also clear?

 Probably!

 > Do you think we should zero the struct, then copy across the fields we
 want to keep?
 > Or do you think that touching the entire struct is a bad idea?

 I think it's probably fine to do the zero-and-copy approach.

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


More information about the tor-bugs mailing list