[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs