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

Re: [tor-bugs] #16366 [Tor]: tor hangs for 30 seconds when parsing torrc ending in backslash-newline



#16366: tor hangs for 30 seconds when parsing torrc ending in backslash-newline
------------------------+--------------------------
     Reporter:  teor    |      Owner:
         Type:  defect  |     Status:  new
     Priority:  minor   |  Milestone:  Tor: 0.2.???
    Component:  Tor     |    Version:  Tor: 0.2.6.8
   Resolution:          |   Keywords:  lorax
Actual Points:          |  Parent ID:
       Points:          |
------------------------+--------------------------

Comment (by yawning):

 Replying to [comment:8 teor]:
 > Can we run each string through `string_is_valid_hostname` or similar?

 Need a separate routine, if only to handle bracket delimited IPv6
 addresses.  `string_is_valid_hostname` is only really intended for
 validating FQDNs, since raw IPs are (for correctly implemented SOCKS
 clients) never passed as `DOMAINNAME` in the SOCKS protocol (which is the
 main consumer of the routine).

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/16366#comment:9>
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