[or-cvs] fix an infinite loop at hup

arma at seul.org arma at seul.org
Fri Aug 26 20:07:57 UTC 2005


Update of /home2/or/cvsroot/tor/src/or
In directory moria:/home/arma/work/onion/cvs/tor/src/or

Modified Files:
	config.c 
Log Message:
fix an infinite loop at hup


Index: config.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/config.c,v
retrieving revision 1.398
retrieving revision 1.399
diff -u -d -r1.398 -r1.399
--- config.c	26 Aug 2005 18:44:26 -0000	1.398
+++ config.c	26 Aug 2005 20:07:55 -0000	1.399
@@ -2016,6 +2016,8 @@
   while (a && b) {
     if (strcasecmp(a->key, b->key) || strcmp(a->value, b->value))
       return 0;
+    a = a->next;
+    b = b->next;
   }
   if (a || b)
     return 0;



More information about the tor-commits mailing list