[tor-bugs] #5534 [Tor Directory Authority]: Make bridge authorities add "a" lines to router status entries
Tor Bug Tracker & Wiki
torproject-admin at torproject.org
Thu May 31 16:36:42 UTC 2012
#5534: Make bridge authorities add "a" lines to router status entries
-------------------------------------+--------------------------------------
Reporter: ln5 | Owner: ln5
Type: enhancement | Status: needs_review
Priority: normal | Milestone: Tor: 0.2.4.x-final
Component: Tor Directory Authority | Version:
Keywords: | Parent: #4563
Points: | Actualpoints:
-------------------------------------+--------------------------------------
Changes (by ln5):
* status: needs_revision => needs_review
Comment:
Replying to [comment:16 asn]:
> a) `changes/bug5891` seems to have some git conflict strings inside.
Ugh, repeatedly rebasing to master makes me crazy. My git fu is
clearly imperfect.
> b) ''Usually'' prefer `fmt_addr()` instead of `tor_addr_to_str()` when
it's possible. In `routerstatus_format_entry()` I think you are
overwriting `buf` in your call to `tor_addr_to_str()`. Check out how
functions like `connection_proxy_connect()` are using `fmt_addr()` in
`snprintf`.
>
That's one hell of a sweet shadowing bug. Why doesn't GCC warn me
about that? (Why my brain doesn't refuse to come up with code like
that is another fine question.)
Fixed it in branch ipv6-phase3-0528.
Thanks for finding these!
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/5534#comment:17>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list