mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 04:13:28 +01:00
Fix an assert error introduced in 0.1.2.5-alpha: if you're an
advertised exit node, somebody might try to exit from you when you're bootstrapping and before you've built your descriptor yet. svn:r9305
This commit is contained in:
parent
074a314253
commit
c85ff4d6ab
@ -30,6 +30,11 @@ Changes in version 0.1.2.6-alpha - 2007-??-??
|
|||||||
- Authorities do not recommend exits as guards if this would shift
|
- Authorities do not recommend exits as guards if this would shift
|
||||||
excess load to the exit nodes.
|
excess load to the exit nodes.
|
||||||
|
|
||||||
|
o Major bugfixes:
|
||||||
|
- Fix an assert error introduced in 0.1.2.5-alpha: if you're an
|
||||||
|
advertised exit node, somebody might try to exit from you when
|
||||||
|
you're bootstrapping and before you've built your descriptor yet.
|
||||||
|
|
||||||
o Minor bugfixes:
|
o Minor bugfixes:
|
||||||
- Restore a warning message if we accidentally resolve an address that
|
- Restore a warning message if we accidentally resolve an address that
|
||||||
we weren't planning to resolve.
|
we weren't planning to resolve.
|
||||||
|
@ -701,7 +701,8 @@ router_upload_dir_desc_to_dirservers(int force)
|
|||||||
int
|
int
|
||||||
router_compare_to_my_exit_policy(edge_connection_t *conn)
|
router_compare_to_my_exit_policy(edge_connection_t *conn)
|
||||||
{
|
{
|
||||||
tor_assert(desc_routerinfo);
|
if (!router_get_my_routerinfo()) /* make sure desc_routerinfo exists */
|
||||||
|
return -1;
|
||||||
|
|
||||||
/* make sure it's resolved to something. this way we can't get a
|
/* make sure it's resolved to something. this way we can't get a
|
||||||
'maybe' below. */
|
'maybe' below. */
|
||||||
|
Loading…
Reference in New Issue
Block a user