[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #4676 [Tor Relay]: Eliminate "family" field in tor_addr_t
#4676: Eliminate "family" field in tor_addr_t
-------------------------+--------------------------------------------------
Reporter: nickm | Owner:
Type: enhancement | Status: needs_review
Priority: normal | Milestone: Tor: 0.2.3.x-final
Component: Tor Relay | Version:
Keywords: | Parent:
Points: | Actualpoints:
-------------------------+--------------------------------------------------
Comment(by nickm):
>00:19 < wanoskarnet> re branch "short_address_rep": any explicitly non
inited tor_addr_t structs will have AF_INET6 family, that hides exist
family related bugs.
I think the answer to that one is going to have to be: always use
tor_addr_make_unspec, not memset(0), to initialize tor_addr_t fields.
Special-casing the address [::] seems like a bad move to me.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/4676#comment:3>
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