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

Re: [tor-bugs] #16069 [Tor]: ipv4 + ipv6 exit : v6 policy is displayed twice, v4 isn't displayed



#16069: ipv4 + ipv6 exit : v6 policy is displayed twice, v4 isn't displayed
--------------------------+-----------------------------------------------
     Reporter:  toralf    |      Owner:
         Type:  defect    |     Status:  needs_review
     Priority:  critical  |  Milestone:  Tor: 0.2.7.x-final
    Component:  Tor       |    Version:  Tor: 0.2.7
   Resolution:            |   Keywords:  026-backport, ipv6, PostFreeze027
Actual Points:            |  Parent ID:
       Points:            |
--------------------------+-----------------------------------------------

Comment (by teor):

 Ugh, I disliked the way I added `int is_ignored:1` to addr_policy_t. It
 was an ugly design.

 Instead, I added `int *malformed_list` to the arguments of
 router_parse_addr_policy_item_from_string. It is set to 1 if the entire
 list should be ignored, and 0 if just the current item should be ignored.

 I also found a lurking NULL-dereference bug in my additions to
 router_parse_addr_policy_item_from_string and fixed it.

 See my branch `bug16069-exit-policy-inconsistent-v4`.

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