[tor-bugs] #8197 [Tor]: Do something about policies_parse_exit_policy()'s arguments

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Feb 10 03:25:25 UTC 2013


#8197: Do something about policies_parse_exit_policy()'s arguments
--------------------+-------------------------------------------------------
 Reporter:  arma    |          Owner:                    
     Type:  defect  |         Status:  new               
 Priority:  normal  |      Milestone:  Tor: 0.2.5.x-final
Component:  Tor     |        Version:                    
 Keywords:          |         Parent:                    
   Points:          |   Actualpoints:                    
--------------------+-------------------------------------------------------
 {{{
   r = policies_parse_exit_policy(&line, &policy, 1, 0, 0, 1);
 ...
   test_assert(0 == policies_parse_exit_policy(NULL, &policy2, 1, 1, 0,
 1));
 }}}

 Quick quiz: which of these booleans means what? And which one isn't a
 boolean at all? :)

 (Don't work on this ticket until we merge #5528.)

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


More information about the tor-bugs mailing list