[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
       
    Tue Feb  6 22:13:06 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 teor):
 Here's a clever way to do a unit test:
 Write all 1s to the struct.
 Clear sybils.
 Turn the consensus flags in the struct into a string using the standard
 function.
 Make sure the string is empty.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/16849#comment:17>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
    
    
More information about the tor-bugs
mailing list