[tor-bugs] #6935 [Tor Client]: Bogus documentation comments in router.c

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Sat Sep 22 03:07:51 UTC 2012


#6935: Bogus documentation comments in router.c
------------------------+---------------------------------------------------
 Reporter:  rransom     |          Owner:                    
     Type:  defect      |         Status:  new               
 Priority:  minor       |      Milestone:  Tor: 0.2.4.x-final
Component:  Tor Client  |        Version:                    
 Keywords:              |         Parent:                    
   Points:              |   Actualpoints:                    
------------------------+---------------------------------------------------
 From `src/or/router.c`:
 {{{
 /** Return true iff <b>s</b> is a legally valid server nickname. */
 int
 is_legal_nickname(const char *s)
 }}}
 {{{
 /** Return true iff <b>s</b> is a legally valid server nickname or
  * hex-encoded identity-key digest. */
 int
 is_legal_nickname_or_hexdigest(const char *s)
 }}}
 {{{
 /** Return true iff <b>s</b> is a legally valid hex-encoded identity-key
  * digest. */
 int
 is_legal_hexdigest(const char *s)
 }}}

 Will users who attempt to identify servers in ways which are not ‘legally
 valid’ be jailed, or merely fined?

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


More information about the tor-bugs mailing list