[or-cvs] r13688: Servers that don't know their own IP address should go to th (in tor/trunk: . src/or)
nickm at freehaven.net
nickm at freehaven.net
Sun Feb 24 22:10:26 UTC 2008
On Sun, Feb 24, 2008 at 11:49:24AM +0000, Robert Hogan wrote:
[...]
> I encountered this bug while trying to get 'getinfo extra-info/digest/X' to
> work for my own server's extra-info digest.
>
> The attached fixes 2 things:
>
> 1. Though it shouldn't happen now that desc_routerinfo is properly created,
> adding a null &(router_get_my_routerinfo()->cache_info) in
> dirserv_get_routerdescs causes a segfault later on in getinfo_helper_dir.
>
> 2. If the requested extra-info is for our own server, supply it every time: it
> isn't always retrievable by extrainfo_get_by_descriptor_digest.
Thanks! I've checked this in.
More information about the tor-dev
mailing list