[or-cvs] r12235: we need to send nick to the chalkboard to type 'un' 1000 tim (in tor/trunk: . src/or)

arma at seul.org arma at seul.org
Sat Oct 27 21:40:32 UTC 2007


Author: arma
Date: 2007-10-27 17:40:32 -0400 (Sat, 27 Oct 2007)
New Revision: 12235

Modified:
   tor/trunk/ChangeLog
   tor/trunk/src/or/networkstatus.c
Log:
we need to send nick to the chalkboard to type 'un' 1000 times:

Stop servers from crashing if they set a Family option (or
maybe in other situations too). Bugfix on 0.2.0.9-alpha; reported
by Fabian Keil.


Modified: tor/trunk/ChangeLog
===================================================================
--- tor/trunk/ChangeLog	2007-10-27 21:36:56 UTC (rev 12234)
+++ tor/trunk/ChangeLog	2007-10-27 21:40:32 UTC (rev 12235)
@@ -1,4 +1,9 @@
 Changes in version 0.2.0.10-alpha - 2007-1?-??
+  o Major bugfixes:
+    - Stop servers from crashing if they set a Family option (or
+      maybe in other situations too). Bugfix on 0.2.0.9-alpha; reported
+      by Fabian Keil.
+
   o New requirements:
     - Drop support for OpenSSL version 0.9.6.  Just about nobody was using
       it, it had no AES, and it hasn't seen any security patches since 2004.

Modified: tor/trunk/src/or/networkstatus.c
===================================================================
--- tor/trunk/src/or/networkstatus.c	2007-10-27 21:36:56 UTC (rev 12234)
+++ tor/trunk/src/or/networkstatus.c	2007-10-27 21:40:32 UTC (rev 12235)
@@ -885,7 +885,9 @@
 int
 networkstatus_nickname_is_unnamed(const char *nickname)
 {
-  return strmap_get_lc(named_server_map, nickname) != NULL;
+  if (!unnamed_server_map)
+    return 0;
+  return strmap_get_lc(unnamed_server_map, nickname) != NULL;
 }
 
 /** How frequently do directory authorities re-download fresh networkstatus



More information about the tor-commits mailing list