[tor-bugs] #17173 [Tor]: Bug: tor_addr_is_internal() called from src/common/address.c:1646 with a non-IP address of type 49 (on Tor 0.2.7.3-rc 9a4cac74fd2f4bb3)

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Sep 28 22:26:20 UTC 2015


#17173: Bug: tor_addr_is_internal() called from src/common/address.c:1646 with a
non-IP address of type 49 (on Tor 0.2.7.3-rc 9a4cac74fd2f4bb3)
------------------------+--------------------------------
     Reporter:  fk      |      Owner:
         Type:  defect  |     Status:  new
     Priority:  normal  |  Milestone:  Tor: 0.2.7.x-final
    Component:  Tor     |    Version:  Tor: 0.2.7.3-rc
   Resolution:          |   Keywords:  regression
Actual Points:          |  Parent ID:
       Points:          |    Sponsor:
------------------------+--------------------------------

Comment (by teor):

 Thanks for the patch, and for diagnosing this issue.

 get_interface_address6_list returns an empty smartlist when there are no
 suitable interface addresses, so the `return NULL;` should instead be
 `return smartlist_new();`

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


More information about the tor-bugs mailing list