Procházet zdrojové kódy

fix crash introduced in r9622

svn:r9632
Roger Dingledine před 18 roky
rodič
revize
2015479b5a
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. 2 1
      src/or/circuitbuild.c

+ 2 - 1
src/or/circuitbuild.c

@@ -2201,7 +2201,8 @@ entry_guard_register_connect_status(const char *digest, int succeeded,
                 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) {