Opened 7 years ago

Closed 7 years ago

#6935 closed defect (fixed)

Bogus documentation comments in router.c

Reported by: rransom Owned by:
Priority: Low Milestone: Tor: 0.2.4.x-final
Component: Core Tor/Tor Version:
Severity: Keywords: tor-client
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

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?

Child Tickets

Change History (3)

comment:1 Changed 7 years ago by nickm

Keywords: tor-client added

comment:2 Changed 7 years ago by nickm

Component: Tor ClientTor

comment:3 Changed 7 years ago by nickm

Resolution: fixed
Status: newclosed

Attempted fix committed as commit 785827606643d0bfdeba22dc73266c311456b87c

Note: See TracTickets for help on using tickets.