[tor-bugs] #6853 [Tor Directory Authority]: Relay-flag voting code has undefined behaviour

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Sat Sep 15 15:18:47 UTC 2012


#6853: Relay-flag voting code has undefined behaviour
-------------------------------------+--------------------------------------
 Reporter:  rransom                  |          Owner:  rransom           
     Type:  defect                   |         Status:  new               
 Priority:  normal                   |      Milestone:  Tor: 0.2.4.x-final
Component:  Tor Directory Authority  |        Version:                    
 Keywords:                           |         Parent:                    
   Points:                           |   Actualpoints:                    
-------------------------------------+--------------------------------------

Comment(by rransom):

 Replying to [ticket:6853 rransom]:
 >
 {{{
           *flags_out |= (1<<j);
 }}}

 Er, that's “`vote_rs->flags |= (1<<p);`” now.

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


More information about the tor-bugs mailing list