[or-cvs] r15678: robustness (blossom/trunk)

goodell at seul.org goodell at seul.org
Sat Jul 5 22:15:59 UTC 2008


Author: goodell
Date: 2008-07-05 18:15:59 -0400 (Sat, 05 Jul 2008)
New Revision: 15678

Modified:
   blossom/trunk/exit.py
Log:
robustness


Modified: blossom/trunk/exit.py
===================================================================
--- blossom/trunk/exit.py	2008-07-05 22:05:49 UTC (rev 15677)
+++ blossom/trunk/exit.py	2008-07-05 22:15:59 UTC (rev 15678)
@@ -160,6 +160,8 @@
     if not line:
         break
     m = line.split(" ")
+    if not len(m) > 2:
+        break
     a = m[1]
     if not addr.has_key(a):
         addr[a] = {}



More information about the tor-commits mailing list