[tor-bugs] #17846 [Tor]: 32bit decimal IP address fail (i.e. no octets) on nbsd and obsd

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Dec 14 08:23:37 UTC 2015


#17846: 32bit decimal IP address fail (i.e. no octets) on nbsd and obsd
----------------------+-------------------------------
 Reporter:  amonk     |          Owner:
     Type:  defect    |         Status:  new
 Priority:  Very Low  |      Milestone:
Component:  Tor       |        Version:  Tor: 0.2.6.10
 Severity:  Minor     |     Resolution:
 Keywords:  lorax     |  Actual Points:
Parent ID:            |         Points:
  Sponsor:            |
----------------------+-------------------------------

Comment (by yawning):

 It's worth noting that the code that's `#if 0`-ed out isn't quite right
 according to POSIX due to:
 {{{
 If the specified address family is AF_INET or AF_UNSPEC, address strings
 using
 Internet standard dot notation as specified in inet_addr are valid.
 }}}

 See:
 http://pubs.opengroup.org/onlinepubs/9699919799/functions/getaddrinfo.html

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


More information about the tor-bugs mailing list