[or-cvs] r9632: fix crash introduced in r9622 (tor/trunk/src/or)

arma at seul.org arma at seul.org
Sat Feb 24 06:44:42 UTC 2007


Author: arma
Date: 2007-02-24 01:44:40 -0500 (Sat, 24 Feb 2007)
New Revision: 9632

Modified:
   tor/trunk/src/or/circuitbuild.c
Log:
fix crash introduced in r9622


Modified: tor/trunk/src/or/circuitbuild.c
===================================================================
--- tor/trunk/src/or/circuitbuild.c	2007-02-24 05:54:34 UTC (rev 9631)
+++ tor/trunk/src/or/circuitbuild.c	2007-02-24 06:44:40 UTC (rev 9632)
@@ -2201,7 +2201,8 @@
                 entry->nickname, buf, tbuf);
       entry->last_attempted = now;
     }
-    entry->can_retry = 0; /* We gave it an early chance; no good. */
+    if (entry)
+      entry->can_retry = 0; /* We gave it an early chance; no good. */
   }
 
   if (first_contact) {



More information about the tor-commits mailing list