Opened 3 weeks ago

Closed 3 weeks ago

Last modified 3 weeks ago

#34131 closed defect (fixed)

Fix logic error in parse_extended_hostname

Reported by: nickm Owned by: nickm
Priority: Medium Milestone: Tor: 0.4.3.x-final
Component: Core Tor/Tor Version:
Severity: Normal Keywords: 043-backport
Cc: Actual Points:
Parent ID: #34078 Points:
Reviewer: Sponsor:

Description

Found with a new clang warning:

   log_warn(LD_APP, "Invalid %shostname %s; rejecting",
      (*type_out == (ONION_V2_HOSTNAME || ONION_V3_HOSTNAME) ? "onion " : ""),
      safe_str_client(address));

Child Tickets

Change History (3)

comment:1 Changed 3 weeks ago by nickm

(This is getting done as part of the #34078 fix)

comment:2 Changed 3 weeks ago by nickm

Parent ID: #34078
Resolution: fixed
Status: assignedclosed

comment:3 Changed 3 weeks ago by nickm

Keywords: 043-backport added

Fixed in 0.4.3 and forward.

Note: See TracTickets for help on using tickets.