[tor-bugs] #25055 [Core Tor/Tor]: string_is_valid_hostname() returns true for IPv4 addresses

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Mar 28 11:52:05 UTC 2018

#25055: string_is_valid_hostname() returns true for IPv4 addresses
 Reporter:  teor                                 |          Owner:  (none)
     Type:  defect                               |         Status:  closed
 Priority:  Medium                               |      Milestone:  Tor:
                                                 |  0.3.3.x-final
Component:  Core Tor/Tor                         |        Version:  Tor:
 Severity:  Normal                               |     Resolution:
 Keywords:  IPv6, IPv4, tor-dns, 032-backport,   |  implemented
  033-must, review-group-34,                     |  Actual Points:
  033-triage-20180320, 033-included-20180320     |
Parent ID:  #25036                               |         Points:  1
 Reviewer:  mikeperry                            |        Sponsor:
Changes (by nickm):

 * status:  merge_ready => closed
 * resolution:   => implemented


 Rebased onto maint-0.3.3, made the change (in
 b504c854d34a938943f68c3036840f10a84fcea4) and merged forward.

 I also added a redundant check in d4bf1f6c8eb08c39def69c839515afe475bf0a6b
 because I am afraid of C. ;)

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

More information about the tor-bugs mailing list