[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



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) {