[or-cvs] r8561: Track down a seg fault that's been bothering me a while: if (tor/trunk/src/or)

arma at seul.org arma at seul.org
Sun Oct 1 07:53:18 UTC 2006


Author: arma
Date: 2006-10-01 03:53:17 -0400 (Sun, 01 Oct 2006)
New Revision: 8561

Modified:
   tor/trunk/src/or/routerlist.c
Log:
Track down a seg fault that's been bothering me a while: if you
enable your dirport as a client, you'll crash.


Modified: tor/trunk/src/or/routerlist.c
===================================================================
--- tor/trunk/src/or/routerlist.c	2006-10-01 06:43:06 UTC (rev 8560)
+++ tor/trunk/src/or/routerlist.c	2006-10-01 07:53:17 UTC (rev 8561)
@@ -1385,7 +1385,6 @@
     signed_descriptor_t *sd = signed_descriptor_from_routerinfo(ri);
     digestmap_set(rl->desc_digest_map, sd->signed_descriptor_digest, sd);
     smartlist_add(rl->old_routers, sd);
-    ri->routerlist_index = -1;
   } else {
     routerinfo_free(ri);
   }



More information about the tor-commits mailing list