[tor-bugs] #34131 [Core Tor/Tor]: Fix logic error in parse_extended_hostname

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed May 6 21:14:08 UTC 2020


#34131: Fix logic error in parse_extended_hostname
------------------------------+--------------------------------
     Reporter:  nickm         |      Owner:  nickm
         Type:  defect        |     Status:  assigned
     Priority:  Medium        |  Milestone:  Tor: 0.4.3.x-final
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+--------------------------------
 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));
 }}}

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


More information about the tor-bugs mailing list